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

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

This base class is to represent the add event for patchset.

```csharp theme={null}
public class ObjectBasePatchsetAddPatchesEvent : ObjectBasePatchsetAddRemovePatchesEvent
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
HistoryEvent ←
[ObjectBasePatchsetAddRemovePatchesEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.History.ObjectBasePatchsetAddRemovePatchesEvent.md) ←
[ObjectBasePatchsetAddPatchesEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.History.ObjectBasePatchsetAddPatchesEvent.md)

#### Inherited Members

[ObjectBasePatchsetAddRemovePatchesEvent.Clear(bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.History.ObjectBasePatchsetAddRemovePatchesEvent.md#VM_Managed_DAFUL_FE_History_ObjectBasePatchsetAddRemovePatchesEvent_Clear_System_Boolean_),
[ObjectBasePatchsetAddRemovePatchesEvent.AfterUndo(HistoryEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.History.ObjectBasePatchsetAddRemovePatchesEvent.md#VM_Managed_DAFUL_FE_History_ObjectBasePatchsetAddRemovePatchesEvent_AfterUndo_VM_Managed_History_HistoryEventArgs_),
[ObjectBasePatchsetAddRemovePatchesEvent.AfterRedo(HistoryEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.History.ObjectBasePatchsetAddRemovePatchesEvent.md#VM_Managed_DAFUL_FE_History_ObjectBasePatchsetAddRemovePatchesEvent_AfterRedo_VM_Managed_History_HistoryEventArgs_),
[ObjectBasePatchsetAddRemovePatchesEvent.AddPatches()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.History.ObjectBasePatchsetAddRemovePatchesEvent.md#VM_Managed_DAFUL_FE_History_ObjectBasePatchsetAddRemovePatchesEvent_AddPatches),
[ObjectBasePatchsetAddRemovePatchesEvent.RemovePatches()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.History.ObjectBasePatchsetAddRemovePatchesEvent.md#VM_Managed_DAFUL_FE_History_ObjectBasePatchsetAddRemovePatchesEvent_RemovePatches),
[ObjectBasePatchsetAddRemovePatchesEvent.RefreshNavigator()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.History.ObjectBasePatchsetAddRemovePatchesEvent.md#VM_Managed_DAFUL_FE_History_ObjectBasePatchsetAddRemovePatchesEvent_RefreshNavigator),
HistoryEvent.ClearEvent(bool),
HistoryEvent.Undo(HistoryEventArgs),
HistoryEvent.Redo(HistoryEventArgs),
HistoryEvent.Clear(bool),
HistoryEvent.BeforeUndo(HistoryEventArgs),
HistoryEvent.AfterUndo(HistoryEventArgs),
HistoryEvent.BeforeRedo(HistoryEventArgs),
HistoryEvent.AfterRedo(HistoryEventArgs),
HistoryEvent.BeforeAdded(AddToHistoryManagerEventArgs),
HistoryEvent.AfterAdded(HistoryEventArgs),
HistoryEvent.IsValid

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

### ObjectBasePatchsetAddPatchesEvent(object, ICollection\<Patch>)

```csharp theme={null}
public ObjectBasePatchsetAddPatchesEvent(object obOriginal, ICollection<Patch> patches)
```

#### Parameters

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

`patches` [ICollection](https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1)\<[Patch](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.FE.Patch.md)>

## Methods

### Redo(HistoryEventArgs)

```csharp theme={null}
public override void Redo(HistoryEventArgs args)
```

#### Parameters

`args` HistoryEventArgs

### Undo(HistoryEventArgs)

```csharp theme={null}
public override void Undo(HistoryEventArgs args)
```

#### Parameters

`args` HistoryEventArgs
