Class MbyNContact
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.Contact
Assembly: VMDCt.dll
This base class is to represent the contact of m by n.
public class MbyNContact : MultipleContactBase, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup, IEnableForSimulationScenario, IDraw, IDrawIcon, ITemplateObject, IArgument, IReportable, IReferencable, IEntityRelation, IGapSupport
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup, IEnableForSimulationScenario, IDraw, IDrawIcon, ITemplateObject, IArgument, IReportable, IReferencable, IEntityRelation, IGapSupport
Inherited Members
MultipleContactBase.UpdateIcon(),
MultipleContactBase.IsUseContactType(IContactable, IContactable, MultiContactType),
MultipleContactBase.IsUseContactType(IContactable, IContactable, MultiContactType, ref bool),
MultipleContactBase.MultiContactType,
MultipleContactBase.ReportTypeImpl,
Contact
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
MbyNContact()
Initializes a new instance of the
public MbyNContact()
MbyNContact(string)
Initializes a new instance of the
public MbyNContact(string strName)
Parameters
strName string
Name of the contact.
Properties
ActionGeometries
Gets or sets the action geometires.
public MultipleContactInfo[] ActionGeometries { get; set; }
Property Value
ArgumentType
Gets the type of the argument
public override ArgumentTypes ArgumentType { get; }
Property Value
ArgumentTypes
BaseGeometries
Gets or sets the base geometires.
public MultipleContactInfo[] BaseGeometries { get; set; }
Property Value
Methods
CheckAttributeMbyNContact(MultipleContactInfo[], MultipleContactInfo[])
Check attributeMbyNContact.
public void CheckAttributeMbyNContact(MultipleContactInfo[] attribute, MultipleContactInfo[] target)
Parameters
attribute MultipleContactInfo[]
target MultipleContactInfo[]
Draw(Canvas)
Draws the icon.
public override void Draw(Canvas canvas)
Parameters
canvas Canvas
The canvas has icon information.
GetActionEntities()
Get action entities
public ObjectBase[] GetActionEntities()
Returns
ObjectBase[]
The action ObjectBase
GetBaseEntities()
Get base entities
public ObjectBase[] GetBaseEntities()
Returns
ObjectBase[]
The base ObjectBase
GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool)
Gets the object information for model navigator [implementation].
protected override bool GetModelNavigatorInformationImpl(XmlDocument xmlDom, XmlElement xmlEle, bool bHasChild)
Parameters
xmlDom XmlDocument
The XmlDocument for object.
xmlEle XmlElement
The XmlElement for object.
bHasChild bool
if set to true [has child].
Returns
true if success; otherwise, false.
IsValidContact(IContactable[], IContactable[], MultiContactType)
Determines whether the contact is valid.
public static bool IsValidContact(IContactable[] lstBase, IContactable[] lstAction, MultiContactType type)
Parameters
lstBase IContactable[]
The base list.
lstAction IContactable[]
The action list.
type MultiContactType
The type.
Returns
true if the specified object 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
OnDeserialization(object)
Called when [deserialization].
protected override void OnDeserialization(object sender)
Parameters
sender object
The sender.
OnLinkReserved(ILink, object, EventArgs)
protected override void OnLinkReserved(ILink link, object objNotifier, EventArgs args)
Parameters
link ILink
objNotifier object
args EventArgs