Skip to main content
Namespace: VM.Managed
Assembly: VMObjBase.dll
This base class is to represent the instance container.

Inheritance

object ← ObservableObject ← LinkableBase ← ObjectBase ← Object<ObjectEventCore> ← SubEntity ← InstanceContainer

Implements

IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IContainer, ILinkContainer, IOwned, IHasID, IDocumentOwner, IReferencable, ITransformable, IVisible, IAssemblyOwner, IInterfaceTable, IGroup, IMultiChangable, IInstanceContainer, IEntityRelation

Inherited Members

SubEntity.Initialize(Unit.ConvertFactor), SubEntity.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool), SubEntity.FixUp(ObjectBase), SubEntity.WriteTemplateImpl(XmlWriter), SubEntity.ReadTemplateImpl(XmlReader), SubEntity.Name, SubEntity.FullName, SubEntity.NonSymmetricName, SubEntity.DisplayName, SubEntity.IsEnabled, SubEntity.Comment, Object<ObjectEventCore>.GetKey(), Object<ObjectEventCore>.Initialize(Unit.ConvertFactor), Object<ObjectEventCore>.SetIconColor(Canvas), Object<ObjectEventCore>.OnDeserialization(object), Object<ObjectEventCore>.CustomGetObjectData(SerializationInfo, StreamingContext), Object<ObjectEventCore>.RollbackEvent(), Object<ObjectEventCore>.OnDeserializedCore(object), Object<ObjectEventCore>.Key, Object<ObjectEventCore>.UntypedEventCore, Object<ObjectEventCore>.EventCore, Object<ObjectEventCore>.Attributes, ObjectBase.ReplaceEventCore(ObjectEventCore), ObjectBase.SetModifiedCore(ModifiedResult.ModifiedType), ObjectBase.AddPostDeserialize(StreamingContext), ObjectBase.LinkAddedToDocumentCore(IOwned, bool), ObjectBase.SetModified(ModifiedResult.ModifiedType), ObjectBase.SetModified(), ObjectBase.SetModified(ModifiedResult.ModifiedType, IDocument), ObjectBase.DestroyObject(object, LinkEventArgs), ObjectBase.DestroyObject(DestroyEventArgs), ObjectBase.DestroyObject(), ObjectBase.Initialize(Unit.ConvertFactor), ObjectBase.FixUp(ObjectBase), ObjectBase.DoWorkAfterUpdateContents(), ObjectBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), ObjectBase.SetIconColor(Canvas), ObjectBase.RemoveFromCreatedList(), ObjectBase.PostAddToDocument(), ObjectBase.PostRemoveFromDocument(Document), ObjectBase.GetArgumentList(LinkedList<ObjectBase>), ObjectBase.ResetInvalidEntity(), ObjectBase.OnDeserialization(object), ObjectBase.IsSerializableEvent(Delegate), ObjectBase.CustomGetObjectData(SerializationInfo, StreamingContext), ObjectBase.CheckAndUpdateLink(HashSet<ObjectBase>), ObjectBase.Verify(VerifiedResult), ObjectBase.ConnectProxy(), ObjectBase.RollbackEvent(), ObjectBase.LinkRequestUpdating(object, LinkEventArgs), ObjectBase.LinkRequestUpdate(object, LinkEventArgs), ObjectBase.LinkRequestDestroying(object, LinkEventArgs), ObjectBase.LinkRequestDestroy(object, LinkEventArgs), ObjectBase.LinkAddedToDocument(object, AddToDocEventArgs), ObjectBase.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), ObjectBase.DisposeManagedResources(), ObjectBase.GetDestroyEventExtraData(), ObjectBase.OnLinkReserved(ILink, object, EventArgs), ObjectBase.CreateEntityWhenUpdateContents(Action), ObjectBase.GetObjectByKey(UIntPtr), ObjectBase.FindObjectOnXmlDeserialize(string), ObjectBase.UpdateContents(XmlReader, ObjectBase, string), ObjectBase.UpdateContents(XmlReader, ObjectBase), ObjectBase.UpdateContents(string, string), ObjectBase.UpdateContents(string), ObjectBase.SetFlagWhenXMLFile(string, bool), ObjectBase.IsEqualArray<T>(T[], T[]), ObjectBase.IsEqualList(List<double>, List<double>), ObjectBase.SetContainer(IOwned, bool), ObjectBase.GetTargetListForUpdate(), ObjectBase.SkipUpdateObjectImpl(), ObjectBase.raise_OnUpdating(object, LinkEventArgs), ObjectBase.raise_OnUpdate(object, LinkEventArgs), ObjectBase.raise_OnDestroying(object, LinkEventArgs), ObjectBase.raise_OnDestroy(object, LinkEventArgs), ObjectBase.raise_Destroying(object, Identifier), ObjectBase.raise_OnAdded(object, AddToDocEventArgs), ObjectBase.raise_OnRemoved(object, RemoveFromDocEventArgs), ObjectBase.raise_OnContentsUpdated(object, EventArgs), ObjectBase.Dispose(bool), ObjectBase.SkipModified, ObjectBase.ClearChildInfoBeforeDeserialize, ObjectBase.KeyImpl, ObjectBase.ID, ObjectBase.TopologyEntityTypeName, ObjectBase.ObjectStateForCircularError, ObjectBase.ObjectState, ObjectBase.IsChildExternable, ObjectBase.IsExternable, ObjectBase.Container, ObjectBase.Owner, ObjectBase.Document, ObjectBase.UntypedEventCore, ObjectBase.KernelKey, ObjectBase.Key, ObjectBase.OnContentsUpdated, ObjectBase.OnRemoved, ObjectBase.OnAdded, ObjectBase.Destroying, ObjectBase.OnDestroy, ObjectBase.OnDestroying, ObjectBase.OnUpdate, ObjectBase.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

InstanceContainer()

Initializes a new instance of the InstanceContainer class.

InstanceContainer(string, Instance)

Initializes a new instance of the InstanceContainer class.

Parameters

strName string Name of the instance container. instance Instance The instance.

InstanceContainer(string, string, TransformBase)

Initializes a new instance of the InstanceContainer class.

Parameters

strName string Name of the instance container. strDocumentFilePath string The document file path. transf TransformBase The transformation matrix.

Properties

Instance

Gets or sets the instance.

Property Value

Instance

InterfaceTableList

Gets the interface table list.

Property Value

IList<InstanceContainer.InterfaceTable>

InterfaceTables

Gets or sets the interface tables.

Property Value

InstanceContainer.InterfaceTable[]

IsVisible

Gets or sets the visible state.

Property Value

bool

Layer

Gets or sets the layer.

Property Value

Layer

Methods

BindInterface()

Binds the interface.

BindInterface(ObjectBase, ObjectBase)

Binds the interface.

Parameters

obFrom ObjectBase The [from object]. obTo ObjectBase The [to object].

Returns

bool true if success; otherwise, false.

BindInterface(InterfaceTable)

Binds the interface.

Parameters

table InstanceContainer.InterfaceTable The interface table.

Find(string)

Finds an object that matches a specified name

Parameters

strName string Name to search for.

Returns

IObjectBase An object that matches a specified name.

FindLocal(string)

Finds an object that matches a specified name in local.

Parameters

strName string Name to search for.

Returns

IObjectBase An object that matches a specified name.

GetChildListImpl()

Gets the child list.

Returns

IEnumerable<ObjectBase> The child list.

GetLayerImpl()

Gets the layer [implementation].

Returns

Layer The layer

GetNewEntityName(string)

Gets the new name of the entity [Not Implemented].

Parameters

strPrefix string The prefix.

Returns

string The new name

GetNewEntityName(string, bool, int)

Generate an unique DAFUL object name from the container using the prefix name.

Parameters

strPrefix string The DAFUL object prefix name. bUseUnderLine bool Whether use underline. nNumFigure int The Number of Figure.

Returns

string The DAFUL object name.

GetNewEntityName(string, bool, int, int)

Generate an unique DAFUL object name from the container using the prefix name.

Parameters

strPrefix string The DAFUL object prefix name. bUseUnderLine bool Whether use underline. nNumFigure int The Number of Figure. nStartIndex int The start index.

Returns

string The DAFUL object name.

GetTargetListForUpdate()

Gets the update objects.

Returns

List<IEventProvider>

GetUnnamedObjectName(object)

Gets the name of the unnamed object.

Parameters

obUnnamed object The unnamed object.

Returns

string The unnamed object name.

InitInterfaceTable()

Initialize the interface table.

IsDestroyContainer()

Determines whether is [destroy container].

Returns

bool true if is [destroy container]; otherwise, false.

LinkRequestDestroy(object, LinkEventArgs)

Request for destroy the linked object.

Parameters

objNotifier object The linked object. arg LinkEventArgs The LinkEventArgs instance containing the event data.

LinkRequestUpdate(object, LinkEventArgs)

Request for update the linked object.

Parameters

objNotifier object The linked object. arg LinkEventArgs The LinkEventArgs instance containing the event data.

MakeReferenceImpl(LinkedList<Reference>)

Makes the reference [implementation].

Parameters

lstRef LinkedList<Reference> The container.

OnDeserialization(object)

Called when [deserialization].

Parameters

sender object The sender.

PostAddToDocument()

Call when post [add to document].

PostOpenDocumentAfterHookEvent()

Call when post [open document].

ProcessDuplicateReferenceImpl(Reference)

Process for duplicated reference

Parameters

refer Reference The reference.

Redraw()

Redraw.

SetLayerImpl(Layer)

Sets the layer [implementation].

Parameters

layer Layer The layer.

TransformImpl(TMatrix)

Transforms [implementation].

Parameters

matT TMatrix The mat T.