Class InterfaceManager
Last update: 16.07.2025Namespace: 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 ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer
Inherited Members
Object
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
InterfaceManager()
Initializes a new instance of the
public InterfaceManager()
InterfaceManager(InterfaceManager)
Initializes a new instance of the
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>
Interfaces
Gets or sets the interfaces.
public IInterface[] Interfaces { get; set; }
Property Value
IsExternable
Gets a value indicating whether this instance is externable.
public override bool IsExternable { get; }
Property Value
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
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
The name container
GetNumInterfaceObject()
Gets the number of interface object.
public int GetNumInterfaceObject()
Returns
number of interface object
IsInterface(IInterface)
Determines whether the specified interface is interface.
public bool IsInterface(IInterface itf)
Parameters
itf IInterface
The interface.
Returns
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
MakeXml(object)
Makes the interface information.
protected string MakeXml(object ob)
Parameters
ob object
The object.
Returns
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>
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>
The STR list.