Table of Contents

Interface IOpenShellClientFactory

Namespace
OpenShell.DependencyInjection
Assembly
OpenShell.Sdk.DependencyInjection.dll

Creates and caches one IOpenShellClient per configured gateway name.

public interface IOpenShellClientFactory

Methods

Create(string?)

Returns the client for name, creating it on first use. Pass null for the default (unnamed) registration. Clients are shared and owned by the factory; do not dispose them.

IOpenShellClient Create(string? name = null)

Parameters

name string

Returns

IOpenShellClient