Show / Hide Table of Contents

    Class LockableInt

    A lockable value holding an integer

    Inheritance
    object
    Lockable
    LockableInt
    Inherited Members
    Lockable.Unlock()
    Lockable.GetIsLocked()
    Lockable.ToString()
    Lockable.LockType
    Lockable.IsLocked
    object.GetType()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: DesignData.SDS2.Model
    Assembly: DesignData.SDS2.Model.dll
    Syntax
    public sealed class LockableInt : Lockable

    Constructors

    LockableInt()

    A lockable value holding an integer

    Declaration
    public LockableInt()

    LockableInt(int)

    Create a locked ViaMemberEdit LockableInt from a int

    Declaration
    public LockableInt(int value)
    Parameters
    Type Name Description
    int value

    Properties

    Value

    The underlying integer value

    Declaration
    public int Value { get; set; }
    Property Value
    Type Description
    int

    Methods

    Dispose(bool)

    A lockable value holding an integer

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    Lockable.Dispose(bool)

    Operators

    operator +(LockableInt, int)

    A lockable value holding an integer

    Declaration
    public static LockableInt operator +(LockableInt lhs, int rhs)
    Parameters
    Type Name Description
    LockableInt lhs
    int rhs
    Returns
    Type Description
    LockableInt

    operator /(LockableInt, int)

    A lockable value holding an integer

    Declaration
    public static LockableInt operator /(LockableInt lhs, int rhs)
    Parameters
    Type Name Description
    LockableInt lhs
    int rhs
    Returns
    Type Description
    LockableInt

    implicit operator int(LockableInt)

    Implicit conversion to value type

    Declaration
    public static implicit operator int(LockableInt value)
    Parameters
    Type Name Description
    LockableInt value
    Returns
    Type Description
    int

    implicit operator LockableInt(int)

    Implicit conversion using the int constructor

    Declaration
    public static implicit operator LockableInt(int value)
    Parameters
    Type Name Description
    int value
    Returns
    Type Description
    LockableInt

    operator *(LockableInt, int)

    A lockable value holding an integer

    Declaration
    public static LockableInt operator *(LockableInt lhs, int rhs)
    Parameters
    Type Name Description
    LockableInt lhs
    int rhs
    Returns
    Type Description
    LockableInt

    operator -(LockableInt, int)

    A lockable value holding an integer

    Declaration
    public static LockableInt operator -(LockableInt lhs, int rhs)
    Parameters
    Type Name Description
    LockableInt lhs
    int rhs
    Returns
    Type Description
    LockableInt
    Back to top