    

 ## On this page

  

 

 # Class ObjectEventCore

 Last update: 16.07.2025 

Namespace: [VM.Managed](VM.Managed.md)  
Assembly: VMAppCore.dll

This class is to represent the event core for object.

```csharp
public class ObjectEventCore : IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IHistoryObjectSerializableDelegate

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [ObjectEventCore](VM.Managed.ObjectEventCore.md)

#### Derived

[ImportBuilderEventCore](VM.Managed.CAD.ImportBuilderEventCore.md)

#### Implements

IObject, ILinkContainer, IOwned, IHasID, IEventProvider, [ILinkContainerEvent](VM.Managed.ILinkContainerEvent.md), IHistoryObjectSerializableDelegate

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### ObjectEventCore(ObjectBase)

Initializes a new instance of the  class.

```csharp
public ObjectEventCore(ObjectBase ob)

```

#### Parameters

`ob` [ObjectBase](VM.Managed.ObjectBase.md)

Name of the object base.

### ObjectEventCore()

Initializes a new instance of the  class.

```csharp
public ObjectEventCore()

```

### ObjectEventCore(SerializationInfo, StreamingContext)

Initializes a new instance of the  class.

```csharp
protected ObjectEventCore(SerializationInfo info, StreamingContext context)

```

#### Parameters

`info` [SerializationInfo](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo)

The info.

`context` [StreamingContext](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext)

The context.

## Properties

### Container

Gets the container.

```csharp
public IOwned Container { get; }

```

#### Property Value

IOwned

### Document

Gets the document.

```csharp
public Document Document { get; }

```

#### Property Value

[Document](VM.Managed.Document.md)

### IsChildExternable

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

```csharp
bool IsChildExternable { get; }

```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### IsExternable

Gets a value indicating whether this instance is Externable.

```csharp
bool IsExternable { get; }

```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Object

Gets the object.

```csharp
public ObjectBase Object { get; }

```

#### Property Value

[ObjectBase](VM.Managed.ObjectBase.md)

### Owner

Gets the owner.

```csharp
public ObjectBase Owner { get; }

```

#### Property Value

[ObjectBase](VM.Managed.ObjectBase.md)

## Methods

### Dispose(bool)

```csharp
[HandleProcessCorruptedStateExceptions]
protected virtual void Dispose(bool A_0)

```

#### Parameters

`A_0` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Dispose()

destroy a instance of the  class.

```csharp
public override sealed void Dispose()

```

### ~ObjectEventCore()

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

```csharp
protected ~ObjectEventCore()

```

### GetInvocationDestroyTargetList()

```csharp
public List<ObjectBase> GetInvocationDestroyTargetList()

```

#### Returns

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[ObjectBase](VM.Managed.ObjectBase.md)&gt;

### GetInvocationUpdateTargetList()

```csharp
public List<ObjectBase> GetInvocationUpdateTargetList()

```

#### Returns

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[ObjectBase](VM.Managed.ObjectBase.md)&gt;

### GetObjectDataImpl(SerializationInfo, StreamingContext)

Serialization function for restore.

```csharp
virtual void GetObjectDataImpl(SerializationInfo info, StreamingContext context)

```

#### Parameters

`info` [SerializationInfo](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo)

The info.

`context` [StreamingContext](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext)

The context.

### GetTargetListForUpdate()

Gets a updated objects.

```csharp
virtual List<IEventProvider> GetTargetListForUpdate()

```

#### Returns

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;IEventProvider&gt;

### RemoveInvocationDestroyTargetList(ObjectBase)

```csharp
public void RemoveInvocationDestroyTargetList(ObjectBase obj)

```

#### Parameters

`obj` [ObjectBase](VM.Managed.ObjectBase.md)

### RemoveInvocationUpdateTargetList()

```csharp
public void RemoveInvocationUpdateTargetList()

```

### ReplaceImpl(ObjectEventCore)

Replace event core \[implementation\].

```csharp
protected virtual void ReplaceImpl(ObjectEventCore coreOld)

```

#### Parameters

`coreOld` [ObjectEventCore](VM.Managed.ObjectEventCore.md)

The object EventCore.

### SetContainer(IOwned, bool)

```csharp
public virtual void SetContainer(IOwned obOwner, bool bBackup)

```

#### Parameters

`obOwner` IOwned

`bBackup` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### SkipUpdateObjectImpl()

Skip the object that updated.

```csharp
virtual bool SkipUpdateObjectImpl()

```

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Swap(ObjectEventCore, ObjectEventCore)

```csharp
public static void Swap(ObjectEventCore coreOld, ObjectEventCore coreNew)

```

#### Parameters

`coreOld` [ObjectEventCore](VM.Managed.ObjectEventCore.md)

`coreNew` [ObjectEventCore](VM.Managed.ObjectEventCore.md)