Interface IOpenShellClientBuilder
- Namespace
- Microsoft.Extensions.DependencyInjection
- Assembly
- OpenShell.Sdk.DependencyInjection.dll
Configures one gateway registration fluently. Obtain it from AddOpenShellClient.
public interface IOpenShellClientBuilder
- Extension Methods
Properties
Name
The registration name; empty for the default gateway.
string Name { get; }
Property Value
Services
The service collection being configured.
IServiceCollection Services { get; }
Property Value
Methods
Configure(Action<OpenShellOptions>)
Adjusts the options in code.
IOpenShellClientBuilder Configure(Action<OpenShellOptions> configure)
Parameters
configureAction<OpenShellOptions>
Returns
Configure(Action<IServiceProvider, OpenShellOptions>)
Adjusts the options with access to other registered services, such as a token cache or secret store.
IOpenShellClientBuilder Configure(Action<IServiceProvider, OpenShellOptions> configure)
Parameters
configureAction<IServiceProvider, OpenShellOptions>