Class Instance
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the Instance.
public class Instance : Object<objecteventcore>, IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IInstance, IContainer, ILinkContainer, IOwned, IHasID
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IInstance, IContainer, ILinkContainer, IOwned, IHasID
Inherited Members
Object
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
Instance(Assembly, TransformBase)
Initializes a new instance of the
public Instance(Assembly assem, TransformBase transf)
Parameters
assem Assembly
The assembly.
transf TransformBase
The transformation.
Properties
Assembly
Gets or sets the assembly.
public Assembly Assembly { get; set; }
Property Value
ClearChildInfoBeforeDeserialize
Gets a value indicating whether [clear child info before deserialize].
protected override bool ClearChildInfoBeforeDeserialize { get; }
Property Value
References
Gets or sets the reference container.
public Reference[] References { get; set; }
Property Value
Transformation
Gets or sets the transformation.
public TransformBase Transformation { get; set; }
Property Value
Methods
ContainsReference(Reference)
public bool ContainsReference(Reference reference)
Parameters
reference Reference
Returns
Find(string)
Find DAFUL object from the container by full name.
public IObjectBase Find(string strName)
Parameters
strName string
The DAFUL object full name.
Returns
IObjectBase
The DAFUL object.
FindLocal(string)
Find DAFUL object from the container by name.
public virtual IObjectBase FindLocal(string strName)
Parameters
strName string
The DAFUL object name.
Returns
IObjectBase
The DAFUL object.
FindReferenceWithObject(ObjectBase)
public Reference FindReferenceWithObject(ObjectBase objTarget)
Parameters
objTarget ObjectBase
Returns
FindReferenceWithPrototype(Document3D, List, ObjectBase, int)
public static Reference FindReferenceWithPrototype(Document3D doc3D, List<instance> instanceCurrent, ObjectBase objTarget, int nIdx)
Parameters
doc3D Document3D
instanceCurrent ListInstance>
objTarget ObjectBase
nIdx int
Returns
FindReferenceWithPrototype(ObjectBase)
public Reference FindReferenceWithPrototype(ObjectBase objTarget)
Parameters
objTarget ObjectBase
Returns
GetNewEntityName(string, bool, int, int)
[Not implementated]
public virtual string GetNewEntityName(string A_0, bool A_1, int A_2, int A_3)
Parameters
A_0 string
A_1 bool
A_2 int
A_3 int
Returns
GetNewEntityName(string, bool, int)
[Not implementated]
public virtual string GetNewEntityName(string A_0, bool A_1, int A_2)
Parameters
A_0 string
A_1 bool
A_2 int
Returns
GetNewEntityName(string)
[Not implementated]
public virtual string GetNewEntityName(string A_0)
Parameters
A_0 string
Returns
GetUnnamedObjectName(object)
Get an unnamed object name.
public virtual string GetUnnamedObjectName(object obUnnamed)
Parameters
obUnnamed object
The unnamed object.
Returns
The unnamed object name.
LinkRequestUpdate(object, LinkEventArgs)
Request for update the linked object.
protected override void LinkRequestUpdate(object obNotifier, LinkEventArgs arg)
Parameters
obNotifier object
arg LinkEventArgs
The
OnDeserialization(object)
Called when [deserialization].
public override void OnDeserialization(object obSender)
Parameters
obSender object
SetModified(ModifiedType)
Called when object modified.
public override void SetModified(ModifiedResult.ModifiedType type)
Parameters
type ModifiedResult.ModifiedType
The modifed type.
SetModified()
Called when object modified.
public override void SetModified()
SkipUpdateObjectImpl()
Skip the object that updated.
public override bool SkipUpdateObjectImpl()