Class ObjectEventCore
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the event core for object.
public class ObjectEventCore : IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IHistoryObjectSerializableDelegate
Inheritance
Derived
Implements
IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IHistoryObjectSerializableDelegate
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
ObjectEventCore(ObjectBase)
Initializes a new instance of the
public ObjectEventCore(ObjectBase ob)
Parameters
ob ObjectBase
Name of the object base.
ObjectEventCore()
Initializes a new instance of the
public ObjectEventCore()
ObjectEventCore(SerializationInfo, StreamingContext)
Initializes a new instance of the
protected ObjectEventCore(SerializationInfo info, StreamingContext context)
Parameters
info SerializationInfo
The info.
context StreamingContext
The context.
Properties
Container
Gets the container.
public IOwned Container { get; }
Property Value
IOwned
Document
Gets the document.
public Document Document { get; }
Property Value
IsChildExternable
Gets a value indicating whether this instance's child is Externable.
bool IsChildExternable { get; }
Property Value
IsExternable
Gets a value indicating whether this instance is Externable.
bool IsExternable { get; }
Property Value
Object
Gets the object.
public ObjectBase Object { get; }
Property Value
Owner
Gets the owner.
public ObjectBase Owner { get; }
Property Value
Methods
Dispose(bool)
[HandleProcessCorruptedStateExceptions]
protected virtual void Dispose(bool A_0)
Parameters
A_0 bool
Dispose()
destroy a instance of the
public override sealed void Dispose()
~ObjectEventCore()
Releases unmanaged resources and performs other cleanup operations before the
protected ~ObjectEventCore()
GetInvocationDestroyTargetList()
public List<objectbase> GetInvocationDestroyTargetList()
Returns
ListObjectBase>
GetInvocationUpdateTargetList()
public List<objectbase> GetInvocationUpdateTargetList()
Returns
ListObjectBase>
GetObjectDataImpl(SerializationInfo, StreamingContext)
Serialization function for restore.
virtual void GetObjectDataImpl(SerializationInfo info, StreamingContext context)
Parameters
info SerializationInfo
The info.
context StreamingContext
The context.
GetTargetListForUpdate()
Gets a updated objects.
virtual List<ieventprovider> GetTargetListForUpdate()
Returns
RemoveInvocationDestroyTargetList(ObjectBase)
public void RemoveInvocationDestroyTargetList(ObjectBase obj)
Parameters
obj ObjectBase
RemoveInvocationUpdateTargetList()
public void RemoveInvocationUpdateTargetList()
ReplaceImpl(ObjectEventCore)
Replace event core [implementation].
protected virtual void ReplaceImpl(ObjectEventCore coreOld)
Parameters
coreOld ObjectEventCore
The object EventCore.
SetContainer(IOwned, bool)
public virtual void SetContainer(IOwned obOwner, bool bBackup)
Parameters
obOwner IOwned
bBackup bool
SkipUpdateObjectImpl()
Skip the object that updated.
virtual bool SkipUpdateObjectImpl()
Returns
Swap(ObjectEventCore, ObjectEventCore)
public static void Swap(ObjectEventCore coreOld, ObjectEventCore coreNew)
Parameters
coreOld ObjectEventCore
coreNew ObjectEventCore