Skip to main content
Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the linked object relationship with its container object.

Type Parameters

T TUpdate TDestroy TOwnerDestroy

Inheritance

object ← Link<T, TUpdate, TDestroy, TOwnerDestroy>

Implements

ITypedLink<T>, ILink, IChangeReference

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

Initializes a new instance of the Link`4 class.

Parameters

objParent ILinkContainer The linked object’s container object. Initializes a new instance of the Link`4 class.

Parameters

objParent ILinkContainer The linked object’s container object. obj T The linked object.

Parameters

info SerializationInfo context StreamingContext

Fields

Field Value

ObjectEventCore

Field Value

ILinkContainer

Properties

Gets the linked object’s full name.

Property Value

string Gets a value indicating whether linked object is the reference.

Property Value

bool Gets the object container that has a relation with this.

Property Value

ILinkContainer Gets the linked object’s name.

Property Value

string Gets or sets the linked object.

Property Value

T Gets the linked object’s prototype.

Property Value

T

Methods

Disconnect the link relation before deserialize.
Disconnect the link relation before undo/redo.
Destroy this link

Parameters

objNotifier object

The linked object.

arg LinkEventArgs

The LinkEventArgs instance containing the event data.

Parameters

A_0 bool destroy a instance of the Link`4 class.

Parameters

A_0 HashSet<ILinkContainer> Get first design entities.

Returns

IEnumerable<IObject>

Parameters

info SerializationInfo __unnamed001 StreamingContext

Parameters

bBackup bool Reserve link.

Parameters

args LinkEventArgs The event argument.

Returns

bool true if succeess to reserve, otherwise false. set modified link for undo/redo

Parameters

bBackup bool

Operators

Parameters

lnk Link<T, TUpdate, TDestroy, TOwnerDestroy>

Returns

Linker<T>