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

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

A concrete implementation of IComponentConfig.

This class implements IComponentConfig and adds the ability to change it after it
has been created.

This class is not thread safe.

```csharp theme={null}
public class ComponentConfig : AbstractDisposable, IComponentConfig, IReadOnlyComponentConfig, IDisposable

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
AbstractDisposable ←
[ComponentConfig](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig)

#### Implements

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

#### Inherited Members

AbstractDisposable.disposed,
AbstractDisposable.Dispose(),
AbstractDisposable.IsDisposed,
AbstractDisposable.Dispose(bool),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Remarks

Configurations may contain default file values, which may
use temporary files on disk. You should always reliably
ensure Dispose is called on config objects.

## Constructors

[ComponentConfig(Guid, RunFolderPreference, IReadOnlyList\<RuntimeVariable>, IReadOnlyList\<RuntimeVariable>, string, string, IReadOnlyList\<string>, IEnumerable\<InstanceFile>, IEnumerable\<ExternalFile>, IReadOnlyList\<Compatibility>, IDictionary\<string, object>, Uri, Uri, string, string)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.-ctor.md#componentconfig-guid-runfolderpreference-ireadonlylist\<runtimevariable>-ireadonlylist\<runtimevariable>-string-string-ireadonlylist\<string>-ienumerable\<instancefile>-ienumerable\<externalfile>-ireadonlylist\<compatibility>-idictionary\<string-object>-uri-uri-string-string)

Constructor

[ComponentConfig(IReadOnlyComponentConfig)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.-ctor.md#componentconfig-ireadonlycomponentconfig)

Copy constructor. Creates a ComponentConfig that is a clone of the source.

## Properties

[ASComponent](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.ASComponent.md)

The Analysis Server component name.

[Author](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.Author.md)

The author of the component.

[Compatibilities](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.Compatibilities.md)

Get the list of compatibilities associated with this component.

[Description](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.Description.md)

Get a description of the component.

[ExternalFiles](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.ExternalFiles.md)

Get the list of external files associated with this component. Internally
a sorted set will always be used. Null will never be returned.

[HelpUrl](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.HelpUrl.md)

The URL of the help, if any, or null for none.
May be a relative URL.

[Icon](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.Icon.md)

The URL of the icon, if any, or null for none.
May be a relative URL.

[Inputs](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.Inputs.md)

Get the default inputs.

[InstanceFiles](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.InstanceFiles.md)

Get the list of instance files associated with this component. Internally
a sorted set will always be used. Null will never be returned.

[Outputs](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.Outputs.md)

Get the default outputs.

[PlugInId](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.PlugInId.md)

The PlugInId of the component.

[Properties](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.Properties.md)

An arbitrary dictionary of values that allows a plug-in writer to store data
about the instance without needing to create additional files in the Pacz. Some
values have special meaning as defined in `Phoenix.PaczAPI.CommonProperties`. The
system will ensure this is never null.

[RequiredFeatures](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.RequiredFeatures.md)

Get the package features required by the component.

[RunFolderPreference](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.RunFolderPreference.md)

Can multiple runs share the same run directory?
This means that they do not write or modify any files and can share
access to all files they read.

[Version](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.Version.md)

Get the version of the component.

## Methods

[AsReadOnly()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.AsReadOnly.md)

Returns a protected `Phoenix.PaczAPI.IReadOnlyComponentConfig` view of this object that cannot be typecasted back.

[CloneInputsFrom(IEnumerable\<IRuntimeVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.CloneInputsFrom.md#cloneinputsfrom-ienumerable\<iruntimevariable>)

Set the `Phoenix.PaczAPI.IReadOnlyComponentConfig.Inputs` by cloning the passed in objects.

[CloneOutputsFrom(IEnumerable\<IRuntimeVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.CloneOutputsFrom.md#cloneoutputsfrom-ienumerable\<iruntimevariable>)

Set the `Phoenix.PaczAPI.IReadOnlyComponentConfig.Outputs` by cloning the passed in objects.

[Dispose(bool)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.Dispose.md)

Standard disposal.

[FromJson(string)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.FromJson.md)

Reads in a JSON string and creates a ComponentConfig.

[FromJson(string, Func\<string, Handle\<FileDeleter>>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.FromJson.md#fromjson-string-func\<string-handle\<filedeleter>>)

Reads in a JSON string and creates a ComponentConfig.

[MoveInputsFrom(IEnumerable\<IRuntimeVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.MoveInputsFrom.md#moveinputsfrom-ienumerable\<iruntimevariable>)

Set the `Phoenix.PaczAPI.IReadOnlyComponentConfig.Inputs` by taking ownership of the passed in objects.

[MoveOutputsFrom(IEnumerable\<IRuntimeVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.MoveOutputsFrom.md#moveoutputsfrom-ienumerable\<iruntimevariable>)

Set the `Phoenix.PaczAPI.IReadOnlyComponentConfig.Outputs` by taking ownership of the passed in objects.

[ToJson(bool)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.ToJson.md)

Write out this object as a JSON string.

[ToJson(Func\<FileValue, string>, bool)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.ComponentConfig.ToJson.md)

Write out this object as a JSON string.
