Class LinkEventArgs
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the argument of event from linked object.
public class LinkEventArgs : EventArgs
Inheritance
object ← EventArgs ← LinkEventArgs
Derived
DestroyEventArgs, GetRelationInfoEventArgs, NameChangedEventArgs
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
LinkEventArgs(NotifyReason, object, LinkEventArgs, object)
Initializes a new instance of the
public LinkEventArgs(NotifyReason reason, object extra, LinkEventArgs innerArgs, object obEventPrevious)
Parameters
reason NotifyReason
The type of event.
extra object
The extra object information.
innerArgs LinkEventArgs
The inner event.
obEventPrevious object
The previous linked object.
LinkEventArgs(Document, NotifyReason, object)
Initializes a new instance of the
public LinkEventArgs(Document document, NotifyReason reason, object extra)
Parameters
document Document
The document of event.
reason NotifyReason
The type of event.
extra object
The extra object information.
LinkEventArgs(NotifyReason, object)
Initializes a new instance of the
public LinkEventArgs(NotifyReason reason, object extra)
Parameters
reason NotifyReason
The type of event.
extra object
The extra object information.
LinkEventArgs(NotifyReason, LinkEventArgs, object)
Initializes a new instance of the
public LinkEventArgs(NotifyReason reason, LinkEventArgs innerArgs, object obEventPrevious)
Parameters
reason NotifyReason
The type of event.
innerArgs LinkEventArgs
The inner event.
obEventPrevious object
The previous linked object.
LinkEventArgs(Document, NotifyReason)
Initializes a new instance of the
public LinkEventArgs(Document document, NotifyReason reason)
Parameters
document Document
The document of event.
reason NotifyReason
The type of event.
LinkEventArgs(NotifyReason)
Initializes a new instance of the
public LinkEventArgs(NotifyReason reason)
Parameters
reason NotifyReason
The type of event.
Properties
Document
Gets the document.
public Document Document { get; }
Property Value
EntitiesForCircularReference
Gets or sets the objects for circular reference.
public HashSet<objectbase> EntitiesForCircularReference { get; set; }
Property Value
Extra
Gets the extra object information.
public object Extra { get; }
Property Value
InnerEventArgument
Gets the inner event.
public LinkEventArgs InnerEventArgument { get; }
Property Value
PreviousEventNotifier
Gets the previous linked object.
public object PreviousEventNotifier { get; }
Property Value
Reason
Gets the type of evnet.
public NotifyReason Reason { get; }
Property Value
Methods
IsDestroying(object)
public bool IsDestroying(object objNotifier)
Parameters
objNotifier object
Returns
IsUpdating(object)
public bool IsUpdating(object objNotifier)
Parameters
objNotifier object