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

# Interface IHarnessLocalEditSession

Namespace: [Phoenix.ComponentAPI](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI)\
Assembly: Phoenix.ComponentAPI.dll

Represents a "local edit" session that allows the OEM process to modify
a pacz for a live runner session.

```csharp theme={null}
public interface IHarnessLocalEditSession : IDisposable, IHarnessSaveOperations

```

#### Implements

[IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable),
[IHarnessSaveOperations](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.IHarnessSaveOperations)

## Remarks

This class uses a commit/cancel paradigm. Changes you make will not take effect
until you call `Phoenix.ComponentAPI.IHarnessLocalEditSession.CommitChangesAsync`.

It is bad practice to not call one of `Phoenix.ComponentAPI.IHarnessLocalEditSession.CommitChangesAsync` or
`Phoenix.ComponentAPI.IHarnessLocalEditSession.CancelChangesAsync` before calling Dispose.

Note that calling `Phoenix.ComponentAPI.IHarnessLocalEditSession.CommitChangesAsync` can be very expensive.
It is up to the caller to only call it if any properties were actually changed.

Any of the operations inherited from `Phoenix.ComponentAPI.IHarnessSaveOperations` implicitly
call `Phoenix.ComponentAPI.IHarnessLocalEditSession.CommitChangesAsync` before performing the save operation.

## Properties

[Pacz](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.IHarnessLocalEditSession.Pacz.md)

Gets the current Pacz for editing

## Methods

[CancelChangesAsync()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.IHarnessLocalEditSession.CancelChangesAsync.md)

Cancels any local changes made, setting `Phoenix.ComponentAPI.IHarnessLocalEditSession.Pacz` back to
original values. The running component is not modified.

[CommitChangesAsync()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.IHarnessLocalEditSession.CommitChangesAsync.md)

Causes any changes made to `Phoenix.ComponentAPI.IHarnessLocalEditSession.Pacz` to be mirrored out to the
running component.
