Class CategoryDefinition
A fabricatory setup category
Inherited Members
Namespace: DesignData.SDS2.Setup
Assembly: DesignData.SDS2.Setup.dll
Syntax
public sealed class CategoryDefinition
Constructors
CategoryDefinition()
Create a standalone CategoryDefinition, which can be added to the fabricator.
Declaration
public CategoryDefinition()
CategoryDefinition(string)
Create a standalone CategoryDefinition, which can be added to the fabricator. The given name will be used.
Declaration
public CategoryDefinition(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Properties
Name
The description of this category
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Can only be set on a standalone CategoryDefinition
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown if this is not a standalone CategoryDefinition, meaning it was retrieved from the fabricator and not created by user code. |
Methods
Equals(object)
A fabricatory setup category
Declaration
public override bool Equals(object other)
Parameters
| Type | Name | Description |
|---|---|---|
| object | other |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
~CategoryDefinition()
A fabricatory setup category
Declaration
protected ~CategoryDefinition()
GetHashCode()
A fabricatory setup category
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int |
Overrides
Operators
operator ==(CategoryDefinition, CategoryDefinition)
A fabricatory setup category
Declaration
public static bool operator ==(CategoryDefinition a, CategoryDefinition b)
Parameters
| Type | Name | Description |
|---|---|---|
| CategoryDefinition | a | |
| CategoryDefinition | b |
Returns
| Type | Description |
|---|---|
| bool |
operator !=(CategoryDefinition, CategoryDefinition)
A fabricatory setup category
Declaration
public static bool operator !=(CategoryDefinition a, CategoryDefinition b)
Parameters
| Type | Name | Description |
|---|---|---|
| CategoryDefinition | a | |
| CategoryDefinition | b |
Returns
| Type | Description |
|---|---|
| bool |