Class Child<T, TUpdate\>
Last update: 09.03.2026Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the linked object relationship with its container object. The container object has a linked object.
public sealed class Child<T, TUpdate> : ITypedLink<T>, ILink, IPostDeserialized where T : class, ILinkContainer where TUpdate : struct, ILinkContainerEvent.ILinkEventBuilder
Type Parameters
T
The link container.
TUpdate
The link event.
Inheritance
object ← Child<T, TUpdate>
Implements
ITypedLink<T>, ILink, IPostDeserialized
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
Child(ILinkContainer)
Initializes a new instance of the
public Child(ILinkContainer objParent)
Parameters
objParent ILinkContainer
The linked object's container object.
Child(ILinkContainer, T)
Initializes a new instance of the
public Child(ILinkContainer objParent, T obj)
Parameters
objParent ILinkContainer
The linked object's container object.
obj T
The linked object.
Child(SerializationInfo, StreamingContext)
protected Child(SerializationInfo info, StreamingContext context)
Parameters
info SerializationInfo
context StreamingContext
Properties
Object
Gets or sets the linked object.
public virtual T Object { get; set; }
Property Value
T
Methods
Dispose(bool)
protected void Dispose(bool A_0)
Parameters
A_0 bool
Dispose()
destroy a instance of the
public override sealed void Dispose()
GetObjectData(SerializationInfo, StreamingContext)
Serialization function for restore.
void GetObjectData(SerializationInfo info, StreamingContext __unnamed001)
Parameters
info SerializationInfo
The info.
__unnamed001 StreamingContext
OnDeserialized(StreamingContext)
[OnDeserialized]
public void OnDeserialized(StreamingContext context)
Parameters
context StreamingContext
OnPostDeserialized(StreamingContext)
public void OnPostDeserialized(StreamingContext context)
Parameters
context StreamingContext
OnResetLink()
protected void OnResetLink()
Operators
implicit operator T(Child<T, TUpdate>)
public static implicit operator T(Child<T, TUpdate> child)
Parameters
child Child<T, TUpdate>
Returns
T