    

 ## On this page

  

 

 # Class ObjectBaseEventCompactAddon

 Last update: 16.07.2025 

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

```csharp
public class ObjectBaseEventCompactAddon : HistoryManagerAddon

```

#### Inheritance

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

#### Inherited Members

HistoryManagerAddon.BeforeUndo(object, HistoryEventArgs), HistoryManagerAddon.AfterUndo(object, HistoryEventArgs), HistoryManagerAddon.BeforeRedo(object, HistoryEventArgs), HistoryManagerAddon.AfterRedo(object, HistoryEventArgs), HistoryManagerAddon.BeforeRollback(object, HistoryEventArgs), HistoryManagerAddon.AfterRollback(object, HistoryEventArgs), HistoryManagerAddon.BeforeRecord(object, HistoryEventArgs), HistoryManagerAddon.AfterRecord(object, HistoryEventArgs), HistoryManagerAddon.Register(HistoryManager), HistoryManagerAddon.ClearMarkCollection(ICollection&lt;HistoryMark&gt;), HistoryManagerAddon.ClearMark(HistoryMark), HistoryManagerAddon.Parent, HistoryManagerAddon.DoneList, HistoryManagerAddon.UndoneList

#### 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

### ObjectBaseEventCompactAddon()

```csharp
public ObjectBaseEventCompactAddon()

```

## Methods

### AddEvent(LinkedListNode&lt;HistoryEvent&gt;)

```csharp
public void AddEvent(LinkedListNode<HistoryEvent> e)

```

#### Parameters

`e` [LinkedListNode](https://learn.microsoft.com/dotnet/api/system.collections.generic.linkedlistnode-1)&lt;HistoryEvent&gt;

### AfterRecord(object, HistoryEventArgs)

```csharp
protected override void AfterRecord(object o, HistoryEventArgs args)

```

#### Parameters

`o` [object](https://learn.microsoft.com/dotnet/api/system.object)

`args` HistoryEventArgs

### BeforeRecord(object, HistoryEventArgs)

```csharp
protected override void BeforeRecord(object o, HistoryEventArgs args)

```

#### Parameters

`o` [object](https://learn.microsoft.com/dotnet/api/system.object)

`args` HistoryEventArgs

### GetLastEvent(UIntPtr)

```csharp
public SerializableObjectBaseModifiedEventBase GetLastEvent(UIntPtr keyObj)

```

#### Parameters

`keyObj` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

#### Returns

[SerializableObjectBaseModifiedEventBase](VM.Managed.History.SerializableObjectBaseModifiedEventBase.md)

### RemoveLastEvent(UIntPtr)

```csharp
public void RemoveLastEvent(UIntPtr keyObj)

```

#### Parameters

`keyObj` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)