Skip to main content

Motion Standalone Preprocessor C# library 2025 R2

Class ObjectEventCore

Last update: 16.07.2025

Namespace: 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

objectObjectEventCore

Derived

ImportBuilderEventCore

Implements

IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IHistoryObjectSerializableDelegate

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

ObjectEventCore(ObjectBase)

Initializes a new instance of the class.

public ObjectEventCore(ObjectBase ob)

Parameters

ob ObjectBase

Name of the object base.

ObjectEventCore()

Initializes a new instance of the class.

public ObjectEventCore()

ObjectEventCore(SerializationInfo, StreamingContext)

Initializes a new instance of the class.

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

Document

IsChildExternable

Gets a value indicating whether this instance's child is Externable.

bool IsChildExternable { get; }

Property Value

bool

IsExternable

Gets a value indicating whether this instance is Externable.

bool IsExternable { get; }

Property Value

bool

Object

Gets the object.

public ObjectBase Object { get; }

Property Value

ObjectBase

Owner

Gets the owner.

public ObjectBase Owner { get; }

Property Value

ObjectBase

Methods

Dispose(bool)

[HandleProcessCorruptedStateExceptions]
protected virtual void Dispose(bool A_0)

Parameters

A_0 bool

Dispose()

destroy a instance of the class.

public override sealed void Dispose()

~ObjectEventCore()

Releases unmanaged resources and performs other cleanup operations before the is reclaimed by garbage collection.

protected ~ObjectEventCore()

GetInvocationDestroyTargetList()

public List<objectbase> GetInvocationDestroyTargetList()

Returns

ListObjectBase&gt;

GetInvocationUpdateTargetList()

public List<objectbase> GetInvocationUpdateTargetList()

Returns

ListObjectBase&gt;

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

List

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

bool

Swap(ObjectEventCore, ObjectEventCore)

public static void Swap(ObjectEventCore coreOld, ObjectEventCore coreNew)

Parameters

coreOld ObjectEventCore

coreNew ObjectEventCore

Connect with Ansys