Class LockableInt
A lockable value holding an integer
Assembly: DesignData.SDS2.Model.dll
Syntax
public sealed class LockableInt : Lockable
Constructors
LockableInt()
A lockable value holding an integer
Declaration
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
Methods
Dispose(bool)
A lockable value holding an integer
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
bool |
disposing |
|
Overrides
Operators
operator +(LockableInt, int)
A lockable value holding an integer
Declaration
public static LockableInt operator +(LockableInt lhs, int rhs)
Parameters
Returns
operator /(LockableInt, int)
A lockable value holding an integer
Declaration
public static LockableInt operator /(LockableInt lhs, int rhs)
Parameters
Returns
implicit operator int(LockableInt)
Implicit conversion to value type
Declaration
public static implicit operator int(LockableInt value)
Parameters
Returns
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
operator *(LockableInt, int)
A lockable value holding an integer
Declaration
public static LockableInt operator *(LockableInt lhs, int rhs)
Parameters
Returns
operator -(LockableInt, int)
A lockable value holding an integer
Declaration
public static LockableInt operator -(LockableInt lhs, int rhs)
Parameters
Returns