> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class ObjectBaseEventCompactAddon

Namespace: [VM.Managed.History](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.History)\
Assembly: VMAppCore.dll

```csharp theme={null}
public class ObjectBaseEventCompactAddon : HistoryManagerAddon
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
HistoryManagerAddon ←
[ObjectBaseEventCompactAddon](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/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\<HistoryMark>),
HistoryManagerAddon.ClearMark(HistoryMark),
HistoryManagerAddon.Parent,
HistoryManagerAddon.DoneList,
HistoryManagerAddon.UndoneList

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### ObjectBaseEventCompactAddon()

```csharp theme={null}
public ObjectBaseEventCompactAddon()
```

## Methods

### AddEvent(LinkedListNode\<HistoryEvent>)

```csharp theme={null}
public void AddEvent(LinkedListNode<HistoryEvent> e)
```

#### Parameters

`e` [LinkedListNode](https://learn.microsoft.com/dotnet/api/system.collections.generic.linkedlistnode-1)\<HistoryEvent>

### AfterRecord(object, HistoryEventArgs)

```csharp theme={null}
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 theme={null}
protected override void BeforeRecord(object o, HistoryEventArgs args)
```

#### Parameters

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

`args` HistoryEventArgs

### GetLastEvent(UIntPtr)

```csharp theme={null}
public SerializableObjectBaseModifiedEventBase GetLastEvent(UIntPtr keyObj)
```

#### Parameters

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

#### Returns

[SerializableObjectBaseModifiedEventBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.History.SerializableObjectBaseModifiedEventBase.md)

### RemoveLastEvent(UIntPtr)

```csharp theme={null}
public void RemoveLastEvent(UIntPtr keyObj)
```

#### Parameters

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