Struct Linker<T\>
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the linker.
public struct Linker<t>
Type Parameters
T
Constructors
Linker(T)
Initializes a new instance of the
public Linker(T t)
Parameters
t T
Linker(ITypedLink)
public Linker(ITypedLink<t> link)
Parameters
link ITypedLink
Properties
IsReference
Gets a value indicating whether linked object is the reference.
public bool IsReference { get; }
Property Value
Key
Gets or sets the linked object's key.
public UIntPtr Key { get; }
Property Value
Object
Gets or sets the linked object.
public T Object { get; set; }
Property Value
T
Prototype
Gets the linked object's prototype.
public T Prototype { get; }
Property Value
T
Methods
GetSchema()
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return nullNothingnullptra null reference (Nothing in Visual Basic) (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.
public XmlSchema GetSchema()
Returns
ReadXml(XmlReader)
Generates an object from its XML representation.
public void ReadXml(XmlReader reader)
Parameters
reader XmlReader
The XmlReader stream from which the object is deserialized.
WriteXml(XmlWriter)
Converts an object into its XML representation.
public void WriteXml(XmlWriter writer)
Parameters
writer XmlWriter
The XmlWriter stream to which the object is serialized.
Operators
implicit operator Linker(T)
public static implicit operator Linker<t>(T t)
Parameters
t T
Returns
implicit operator T(Linker)
public static implicit operator T(Linker<t> linker)
Parameters
linker Linker
Returns
T