Skip to main content
Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the variable( Variable data ). Getting the value(double type) through Value property.

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainer ← Expression ← Variable

Implements

IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IExpression, IVariable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider

Inherited Members

Expression.g_bSkipUpdate, Expression.m_pExpressionHandler, Expression.m_strValue, Expression.m_dicReferenceObject, Expression.m_lstReferenceObject, Expression.m_linkCollectionReferenceObject, Expression.Initialize(), Expression.UpdateByReferenceObject(object, LinkEventArgs), Expression.AddReferenceObject(UIntPtr), Expression.CheckReferenceObject(), Expression.SetDefaultString(ref string), Expression.ConvertToValue(string), Expression.ParseToValue(char*), Expression.GetNumericValue(), Expression.OnDeserialization(object), Expression.Uninitialize(), Expression.String, LinkContainer.SetModified(), LinkContainer.raise_OnUpdating(object, LinkEventArgs), LinkContainer.raise_OnUpdate(object, LinkEventArgs), LinkContainer.raise_OnDestroying(object, LinkEventArgs), LinkContainer.raise_OnDestroy(object, LinkEventArgs), LinkContainer.raise_OnAdded(object, AddToDocEventArgs), LinkContainer.raise_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.IsSerializableEvent(Delegate), LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext), LinkContainer.GetSerializedData(SerializationInfo, StreamingContext), LinkContainer.LinkRequestUpdating(object, LinkEventArgs), LinkContainer.LinkRequestUpdate(object, LinkEventArgs), LinkContainer.LinkRequestDestroying(object, LinkEventArgs), LinkContainer.LinkRequestDestroy(object, LinkEventArgs), LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs), LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), LinkContainer.OnLinkReserved(ILink, object, EventArgs), LinkContainer.CanBeDestroy(object), LinkContainer.DisposeManagedResources(), LinkContainer.SetContainer(IOwned, bool), LinkContainer.OnChildUpdated(object, LinkEventArgs), LinkContainer.OnContainerDestroy(object, LinkEventArgs), LinkContainer.OnDeserialization(object), LinkContainer.Verify(VerifiedResult), LinkContainer.GetCopy(object), LinkContainer.Dispose(bool), LinkContainer.ClearChildInfoBeforeDeserialize, LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

Variable(double, bool)

Initializes a new instance of the Variable class.

Parameters

dValue double The value of Variable(double type). bRoundUp bool Determines whether is value without limiting the precision.

Variable(double)

Initializes a new instance of the Variable class.

Parameters

dValue double The value of Variable(double type). This value will be rounded.

Variable(string)

Initializes a new instance of the Variable class.

Parameters

strValue string The value of Variable(string type).

Variable()

Initializes a new instance of the Variable class.

Properties

DontUpdateByReferenceObject

Property Value

bool

IsSimpleValue

Gets the simple value.

Property Value

bool

PreciseValue

Sets the value without limiting the precision.

Property Value

double

Value

Gets or sets the value

Property Value

double

Methods

Clone()

Returns

object

ConvertToValue(string)

Convert to value.

Parameters

strValue string The string.

Returns

bool

GetFullName()

Returns

string

GetNumericValue()

Get numeric value.

Returns

double

GetSchema()

This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return nullNothingnullptra null reference (Nothing in Visual Basic) (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.

Returns

XmlSchema

GetValue(string)

Parameters

strValue string

Returns

double

LinkRequestDestroying(object, LinkEventArgs)

The destroying event occured from the linked object.

Parameters

obNotifier object arg LinkEventArgs The destroy event information.

LinkRequestUpdate(object, LinkEventArgs)

The update event occured from the linked object.

Parameters

objNotifier object The linked object. arg LinkEventArgs The update event information.

ParseToValue(char*)

Parse to value.

Parameters

wstrValue char* The string.

ReadXml(XmlReader)

Generates an object from its XML representation.

Parameters

reader XmlReader The XmlReader stream from which the object is deserialized.

SetDefaultString(ref string)

Set default string.

Parameters

strValue string The value holds default string.

SetExpression(string)

Sets the value.

Parameters

strValue string The value.

UpdateByReferenceObject(object, LinkEventArgs)

The update event occured from the reference object.

Parameters

obj object The reference object. arg LinkEventArgs The update event information.

WriteXml(XmlWriter)

Converts an object into its XML representation.

Parameters

writer XmlWriter The XmlWriter stream to which the object is serialized.

Operators

implicit operator ExpressionValueVariable(Variable)

Cast operator.

Parameters

variable Variable The Variable.

Returns

ExpressionValueVariable

implicit operator Variable(ExpressionValueVariable)

Cast operator.

Parameters

expressionValue ExpressionValueVariable The ExpressionValue.

Returns

Variable