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

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

Static entry points for instantiating Harness Runner Clients.

These static methods are thread safe.

```csharp theme={null}
public static class ClientFactory

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[ClientFactory](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentClient.ClientFactory)

#### Inherited Members

[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)

## Methods

[ConfigureServiceCollection(IServiceCollection)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentClient.ClientFactory.ConfigureServiceCollection.md)

[ConfigureServiceCollection\<HarnessRunnerClientType, HarnessRunnerClientImpl>(IServiceCollection)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentClient.ClientFactory.ConfigureServiceCollection.md)

[ConfigureWithDefaultRepositories(IServiceCollection, Assembly, params string\[\])](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentClient.ClientFactory.ConfigureWithDefaultRepositories)

[ConfigureWithDefaultRepositories\<HarnessRunnerClientType, HarnessRunnerClientImpl>(IServiceCollection, Assembly, params string\[\])](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentClient.ClientFactory.ConfigureWithDefaultRepositories)

Configure Microsoft's Dependency Injection with the appropriate providers to instantiate IHarnessRunnerClient instances
and backs it with the default repositories as defined in
`Phoenix.PlugIns.PlugInManagerFactory.ConfigureWithDefaultRepositories(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Reflection.Assembly,System.String[])`

This method is intended to be a way for other `Phoenix.ComponentAPI.IHarnessRunnerClient` instances
to register themselves while sharing the same code as the default implementations.

[GetClient()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentClient.ClientFactory.GetClient.md)

Retrieve a new instance of IHarnessRunnerClient. It will be pre-initialized and ready
to do work. If you use this method, you do not need to call ConfigureServiceCollection or
ConfigureWithDefaultRepositories.
