Skip to main content

Motion Standalone Preprocessor C# library 2025 R2

Class InterfaceManager

Last update: 16.07.2025

Namespace: VM.Managed
Assembly: VMObjBase.dll

This interface is to represent interface manager.

public class InterfaceManager : Object<objecteventcore>, IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer

Inheritance

object ← ObservableObject ← LinkableBase ← ObjectBase ← ObjectInterfaceManager

Implements

IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer

Inherited Members

Object.GetKey(), Object.Initialize(Unit.ConvertFactor), Object.SetIconColor(Canvas), Object.OnDeserialization(object), Object.CustomGetObjectData(SerializationInfo, StreamingContext), Object.RollbackEvent(), Object.OnDeserializedCore(object), Object.Key, Object.UntypedEventCore, Object.EventCore, Object.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.ResetInvalidEntity(), ObjectBase.OnDeserialization(object), ObjectBase.IsSerializableEvent(Delegate), ObjectBase.CustomGetObjectData(SerializationInfo, StreamingContext), ObjectBase.CheckAndUpdateLink(HashSet), 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[]), ObjectBase.IsEqualList(List, List), 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(object, LinkPropertyType)

Constructors

InterfaceManager()

Initializes a new instance of the class.

public InterfaceManager()

InterfaceManager(InterfaceManager)

Initializes a new instance of the class.

public InterfaceManager(InterfaceManager itfMgr)

Parameters

itfMgr InterfaceManager

The itf MGR.

Properties

InterfaceInfos

Gets or sets the interface info.

protected List<interfacemanager> InterfaceInfos { get; }

Property Value

ListInterfaceManager.InterfaceInfo&gt;

Interfaces

Gets or sets the interfaces.

public IInterface[] Interfaces { get; set; }

Property Value

IInterface[]

IsExternable

Gets a value indicating whether this instance is externable.

public override bool IsExternable { get; }

Property Value

bool

Methods

Add(IInterface)

Adds the specified itf.

protected virtual void Add(IInterface itf)

Parameters

itf IInterface

The itf.

AddInterface(IInterface)

Adds the interface to interface manager.

public void AddInterface(IInterface itf)

Parameters

itf IInterface

The interface.

GetInterfaceNames(IInterface)

Gets the interface names.

public List<string> GetInterfaceNames(IInterface itf)

Parameters

itf IInterface

The interface.

Returns

Liststring&gt;

The name container

GetInterfaceNames(string)

Gets the interface names.

public List<string> GetInterfaceNames(string strFullName)

Parameters

strFullName string

The full name of the interface.

Returns

Liststring&gt;

The name container

GetNumInterfaceObject()

Gets the number of interface object.

public int GetNumInterfaceObject()

Returns

int

number of interface object

IsInterface(IInterface)

Determines whether the specified interface is interface.

public bool IsInterface(IInterface itf)

Parameters

itf IInterface

The interface.

Returns

bool

true if the specified interface is interface; otherwise, false.

LinkRequestUpdate(object, LinkEventArgs)

Request for update the linked object.

protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

The linked object.

arg LinkEventArgs

The instance containing the event data.

MakeXml(object)

Makes the interface information.

protected string MakeXml(object ob)

Parameters

ob object

The object.

Returns

string

The interface information

RemoveInterface(IInterface)

Removes the interface to interface manager.

public virtual void RemoveInterface(IInterface itf)

Parameters

itf IInterface

The interface.

SetInterfaceNames(IInterface, ICollection)

Sets the interface names.

public void SetInterfaceNames(IInterface itf, ICollection<string> strList)

Parameters

itf IInterface

The itf.

strList ICollectionstring&gt;

The STR list.

SetInterfaceNames(IInterface, ArraySegment)

Sets the interface names.

public void SetInterfaceNames(IInterface itf, ArraySegment<string> strList)

Parameters

itf IInterface

The itf.

strList ArraySegmentstring&gt;

The STR list.

Connect with Ansys