Class Appli.CatalogFinishType
Represents a finish type, which is a set of available choices for one particular object's characteristic. Examples are front model, carcase colour, worktop colour, etc.
Inherited Members
Namespace: KD.SDK2
Assembly: KD.SDK2.dll
Syntax
public class Appli.CatalogFinishType : IEquatable<Appli.CatalogFinishType>, Appli.IFinishType
Properties
| Name | Description |
|---|---|
| Code | Code of the finish type. |
| Finishes | Returns all the finishes that are available for the finish type. |
| Name | Name of the finish type. |
| Number | Unique number of the finish type defined in the catalog it comes from. |
| Rank | Rank of the finish type (some kind of position in the list of available finish types in the catalog it comes from, though it's not exact the same as a usual position since finish type may come from different catalog tables). |
Methods
| Name | Description |
|---|---|
| Equals(CatalogFinishType) | Indicates whether the current object is equal to another object of the same type. |
| Equals(object) | Determines whether the specified object is equal to the current object. |
| GetFinishByCode(string) | Gets the finish with given code from the finishes available for the finish type. |
| GetFinishByName(string) | Gets the finish with given name from the finishes available for the finish type. |
| GetHashCode() | Serves as the default hash function. |
| ToString() | Returns a string that represents the current object. |
| TryGetFinishByCode(string, out CatalogFinish) | Tries to find finish with given code in the finishes available for the finish type. |
| TryGetFinishByName(string, out CatalogFinish) | Tries to find finish with given name in the finishes available for the finish type. |
Operators
| Name | Description |
|---|---|
| operator ==(CatalogFinishType, CatalogFinishType) | Determines whether two specified instances have the same value. |
| operator !=(CatalogFinishType, CatalogFinishType) | Determines whether two specified instances have different values. |