Show / Hide Table of Contents

    Class Lockable

    Base class for lockable values. Lockable values are values in SDS2 which can be locked to a user value, or unlocked and set by process to a system generated value.

    Inheritance
    object
    Lockable
    LockableAttachToMember
    LockableBasePlateWeldInner
    LockableBasePlateWeldOuter
    LockableBasePlateWeldWithGroove
    LockableBasePlateWeldWithoutGroove
    LockableBeamExtensionPlateWeldType
    LockableBool
    LockableBraceFillLocation
    LockableCutLocation
    LockableCutOperation
    LockableDouble
    LockableEndCutType
    LockableHoleType
    LockableInt
    LockablePlateSide
    LockableShape
    LockableShearWeldType
    LockableSpacing
    LockableSteelGrade
    LockableStiffClip
    LockableThreadDirection
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: DesignData.SDS2.Model
    Assembly: DesignData.SDS2.Model.dll
    Syntax
    public class Lockable
    Remarks

    To get an actual value, you must cast this to its lockable type.

             Note that Lockable objects are always copies.  You can make changes to
             them, but for those changes to matter you must assign them back where you
             got them after making changes.
    

    Properties

    IsLocked

    True if this is locked to a user value

    Declaration
    public bool IsLocked { get; }
    Property Value
    Type Description
    bool
    Remarks

    To get an actual value, you must cast this to its lockable type.

             Note that Lockable objects are always copies.  You can make changes to
             them, but for those changes to matter you must assign them back where you
             got them after making changes.
    

    LockType

    Base class for lockable values. Lockable values are values in SDS2 which can be locked to a user value, or unlocked and set by process to a system generated value.

    Declaration
    public LockType LockType { get; set; }
    Property Value
    Type Description
    LockType
    Remarks

    To get an actual value, you must cast this to its lockable type.

             Note that Lockable objects are always copies.  You can make changes to
             them, but for those changes to matter you must assign them back where you
             got them after making changes.
    

    Methods

    Dispose(bool)

    Base class for lockable values. Lockable values are values in SDS2 which can be locked to a user value, or unlocked and set by process to a system generated value.

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

    To get an actual value, you must cast this to its lockable type.

             Note that Lockable objects are always copies.  You can make changes to
             them, but for those changes to matter you must assign them back where you
             got them after making changes.
    

    ~Lockable()

    Base class for lockable values. Lockable values are values in SDS2 which can be locked to a user value, or unlocked and set by process to a system generated value.

    Declaration
    protected ~Lockable()
    Remarks

    To get an actual value, you must cast this to its lockable type.

             Note that Lockable objects are always copies.  You can make changes to
             them, but for those changes to matter you must assign them back where you
             got them after making changes.
    

    GetIsLocked()

    True if this is locked to a user value

    Declaration
    public bool GetIsLocked()
    Returns
    Type Description
    bool
    Remarks

    To get an actual value, you must cast this to its lockable type.

             Note that Lockable objects are always copies.  You can make changes to
             them, but for those changes to matter you must assign them back where you
             got them after making changes.
    

    ToString()

    Base class for lockable values. Lockable values are values in SDS2 which can be locked to a user value, or unlocked and set by process to a system generated value.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    Remarks

    To get an actual value, you must cast this to its lockable type.

             Note that Lockable objects are always copies.  You can make changes to
             them, but for those changes to matter you must assign them back where you
             got them after making changes.
    

    Unlock()

    Unlock this value, let it be set by the system during process

    Declaration
    public void Unlock()
    Remarks

    To get an actual value, you must cast this to its lockable type.

             Note that Lockable objects are always copies.  You can make changes to
             them, but for those changes to matter you must assign them back where you
             got them after making changes.
    
    Back to top