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

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

A base interface for the interface that a component builder UI must implement. Useful internally to handle
plug-ins generically without requiring knowing the type of runner being edited. Plug-Ins should always
implement `Phoenix.ComponentBuilderAPI.IHarnessBuilderUI`1\`

```csharp theme={null}
[PlugInInterfaceName("Phoenix::IHarnessBuilderUI")]
public interface IHarnessBuilderUIBase : IDisposable

```

#### Implements

[IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

## Properties

[HarnessType](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentBuilderAPI.IHarnessBuilderUIBase.HarnessType.md)

Returns the Type object for the IHarnessRunner that this builder UI operates on.

## Methods

[ShowAsync()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentBuilderAPI.IHarnessBuilderUIBase.ShowAsync.md)

Request that the UI be shown.

[TrySaveAsync()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentBuilderAPI.IHarnessBuilderUIBase.TrySaveAsync.md)

Tells the UI to save any current work. If there are no change, this
function should return true immediately. If there are unsaved changes,
the user should be prompted to save their work with (yes, no, cancel) options.

If the plug-in writer does not wish to have this protection, just return true and
do nothing.

[WindowClosed](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentBuilderAPI.IHarnessBuilderUIBase.WindowClosed.md)

This event is raised any time the window is closed.
