Class ClientFactory
Last update: 19.06.2026Namespace: Phoenix.ComponentClient
Assembly: Phoenix.ComponentClient.dll
Static entry points for instantiating Harness Runner Clients.
These static methods are thread safe.
public static class ClientFactory
Inheritance
Inherited Members
object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()
Methods
ConfigureServiceCollection(IServiceCollection)
ConfigureServiceCollection<HarnessRunnerClientType, HarnessRunnerClientImpl>(IServiceCollection)
ConfigureWithDefaultRepositories(IServiceCollection, Assembly, params string[])
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.
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.