Show / Hide Table of Contents

    Class CategoryDefinition

    A fabricatory setup category

    Inheritance
    System.Object
    CategoryDefinition
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    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
    System.String name

    Properties

    Name

    The description of this category

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.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)

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    System.Object other
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    Finalize()

    Declaration
    protected void Finalize()

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    Operators

    Equality(CategoryDefinition, CategoryDefinition)

    Declaration
    public static bool operator ==(CategoryDefinition a, CategoryDefinition b)
    Parameters
    Type Name Description
    CategoryDefinition a
    CategoryDefinition b
    Returns
    Type Description
    System.Boolean

    Inequality(CategoryDefinition, CategoryDefinition)

    Declaration
    public static bool operator !=(CategoryDefinition a, CategoryDefinition b)
    Parameters
    Type Name Description
    CategoryDefinition a
    CategoryDefinition b
    Returns
    Type Description
    System.Boolean
    Back to top