Show / Hide Table of Contents

    Class LockableInt

    A lockable value holding an integer

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

    Constructors

    LockableInt()

    Declaration
    public LockableInt()

    LockableInt(Int32)

    Create a locked ViaMemberEdit LockableInt from a int

    Declaration
    public LockableInt(int value)
    Parameters
    Type Name Description
    System.Int32 value

    Properties

    Value

    The underlying integer value

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

    Methods

    Dispose(Boolean)

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

    Operators

    Addition(LockableInt, Int32)

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

    Division(LockableInt, Int32)

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

    Implicit(LockableInt to Int32)

    Implicit conversion to value type

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

    Implicit(Int32 to LockableInt)

    Implicit conversion using the int constructor

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

    Multiply(LockableInt, Int32)

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

    Subtraction(LockableInt, Int32)

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