Show / Hide Table of Contents

    Class MaterialHandle

    A handle specifically for materials.

    Inheritance
    object
    MaterialHandle
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: DesignData.SDS2.Database
    Assembly: DesignData.SDS2.Database.dll
    Syntax
    public class MaterialHandle

    Constructors

    MaterialHandle(MemberHandle, int, Guid?)

    Create a new material handle from a member handle, index of the material, and guid. Both the materialIndex and the guid must be correct.

    Declaration
    public MaterialHandle(MemberHandle memberHandle, int materialIndex, Guid? guid)
    Parameters
    Type Name Description
    MemberHandle memberHandle
    int materialIndex
    Guid? guid

    Properties

    Guid

    The uuid or guid representing this material

    Declaration
    public Guid? Guid { get; }
    Property Value
    Type Description
    Guid?

    Member

    The member this material is on

    Declaration
    public MemberHandle Member { get; }
    Property Value
    Type Description
    MemberHandle

    Methods

    Dispose(bool)

    A handle specifically for materials.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    Equals(object)

    A handle specifically for materials.

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

    ~MaterialHandle()

    A handle specifically for materials.

    Declaration
    protected ~MaterialHandle()

    GetHashCode()

    A handle specifically for materials.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    Back to top