Class ServiceCollectionExtensions
- Namespace
- idunno.Bluesky
- Assembly
- idunno.Bluesky.dll
Service Collection extensions for building
public static class ServiceCollectionExtensionsInheritance
Inherited Members
Methods
AddBlueskyAgentOptions(IServiceCollection, IConfiguration)
Binds configuration for idunno.Bluesky.BlueskyAgent to the specified configuration.
[RequiresDynamicCode("Binding strongly typed objects to configuration values may require generating dynamic code at runtime.")]
[RequiresUnreferencedCode("BlueskyAgentOptions members may be trimmed. Ensure all required members are preserved.")]
public static IServiceCollection AddBlueskyAgentOptions(this IServiceCollection services, IConfiguration configuration)Parameters
servicesIServiceCollection-
The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.
configurationIConfiguration-
The configuration section to bind to.
Returns
- IServiceCollection
-
The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.
AddBlueskyAgentOptions(IServiceCollection, string)
Reads configuration for idunno.Bluesky.BlueskyAgent from a section and adds it to services.
[RequiresDynamicCode("Binding strongly typed objects to configuration values may require generating dynamic code at runtime.")]
[RequiresUnreferencedCode("BlueskyAgentOptions members may be trimmed. Ensure all required members are preserved.")]
public static IServiceCollection AddBlueskyAgentOptions(this IServiceCollection services, string configSectionPath = "BlueskyAgent")Parameters
servicesIServiceCollection-
The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.
configSectionPathstring-
The configuration section to load configuration from.
Returns
- IServiceCollection
-
The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.
AddBlueskyAgentOptions(IServiceCollection, Action<BlueskyAgentOptions>)
Configures options for a Bluesky agent.
public static IServiceCollection AddBlueskyAgentOptions(this IServiceCollection services, Action<BlueskyAgentOptions> configureOptions)Parameters
servicesIServiceCollection-
The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.
configureOptionsAction<BlueskyAgentOptions>-
A lambda which yields an instance of idunno.Bluesky.BlueskyAgentOptions.
Returns
- IServiceCollection
-
The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.
AddBlueskyAgentOptions(IServiceCollection, BlueskyAgentOptions)
Configures options for a Bluesky agent.
public static IServiceCollection AddBlueskyAgentOptions(this IServiceCollection services, BlueskyAgentOptions configureOptions)Parameters
servicesIServiceCollection-
The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.
configureOptionsBlueskyAgentOptions-
A lambda which yields an instance of idunno.Bluesky.BlueskyAgentOptions.
Returns
- IServiceCollection
-
The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.
AddBlueskyAgentOptions(IServiceCollection, IConfiguration)
Binds configuration for idunno.Bluesky.BlueskyAgent to the specified configuration.
[RequiresDynamicCode("Binding strongly typed objects to configuration values may require generating dynamic code at runtime.")]
[RequiresUnreferencedCode("BlueskyAgentOptions members may be trimmed. Ensure all required members are preserved.")]
public static IServiceCollection AddBlueskyAgentOptions(this IServiceCollection services, IConfiguration configuration)Parameters
servicesIServiceCollection-
The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.
configurationIConfiguration-
The configuration section to bind to.
Returns
- IServiceCollection
-
The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.
AddBlueskyAgentOptions(IServiceCollection, string)
Reads configuration for idunno.Bluesky.BlueskyAgent from a section and adds it to services.
[RequiresDynamicCode("Binding strongly typed objects to configuration values may require generating dynamic code at runtime.")]
[RequiresUnreferencedCode("BlueskyAgentOptions members may be trimmed. Ensure all required members are preserved.")]
public static IServiceCollection AddBlueskyAgentOptions(this IServiceCollection services, string configSectionPath = "BlueskyAgent")Parameters
servicesIServiceCollection-
The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.
configSectionPathstring-
The configuration section to load configuration from.
Returns
- IServiceCollection
-
The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.
AddBlueskyAgentOptions(IServiceCollection, Action<BlueskyAgentOptions>)
Configures options for a Bluesky agent.
public static IServiceCollection AddBlueskyAgentOptions(this IServiceCollection services, Action<BlueskyAgentOptions> configureOptions)Parameters
servicesIServiceCollection-
The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.
configureOptionsAction<BlueskyAgentOptions>-
A lambda which yields an instance of idunno.Bluesky.BlueskyAgentOptions.
Returns
- IServiceCollection
-
The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.
AddBlueskyAgentOptions(IServiceCollection, BlueskyAgentOptions)
Configures options for a Bluesky agent.
public static IServiceCollection AddBlueskyAgentOptions(this IServiceCollection services, BlueskyAgentOptions configureOptions)Parameters
servicesIServiceCollection-
The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.
configureOptionsBlueskyAgentOptions-
A lambda which yields an instance of idunno.Bluesky.BlueskyAgentOptions.
Returns
- IServiceCollection
-
The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.
AddBlueskyAgentOptions(IServiceCollection, IConfiguration)
Binds configuration for idunno.Bluesky.BlueskyAgent to the specified configuration.
[RequiresDynamicCode("Binding strongly typed objects to configuration values may require generating dynamic code at runtime.")]
[RequiresUnreferencedCode("BlueskyAgentOptions members may be trimmed. Ensure all required members are preserved.")]
public static IServiceCollection AddBlueskyAgentOptions(this IServiceCollection services, IConfiguration configuration)Parameters
servicesIServiceCollection-
The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.
configurationIConfiguration-
The configuration section to bind to.
Returns
- IServiceCollection
-
The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.
AddBlueskyAgentOptions(IServiceCollection, string)
Reads configuration for idunno.Bluesky.BlueskyAgent from a section and adds it to services.
[RequiresDynamicCode("Binding strongly typed objects to configuration values may require generating dynamic code at runtime.")]
[RequiresUnreferencedCode("BlueskyAgentOptions members may be trimmed. Ensure all required members are preserved.")]
public static IServiceCollection AddBlueskyAgentOptions(this IServiceCollection services, string configSectionPath = "BlueskyAgent")Parameters
servicesIServiceCollection-
The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.
configSectionPathstring-
The configuration section to load configuration from.
Returns
- IServiceCollection
-
The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.
AddBlueskyAgentOptions(IServiceCollection, Action<BlueskyAgentOptions>)
Configures options for a Bluesky agent.
public static IServiceCollection AddBlueskyAgentOptions(this IServiceCollection services, Action<BlueskyAgentOptions> configureOptions)Parameters
servicesIServiceCollection-
The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.
configureOptionsAction<BlueskyAgentOptions>-
A lambda which yields an instance of idunno.Bluesky.BlueskyAgentOptions.
Returns
- IServiceCollection
-
The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.
AddBlueskyAgentOptions(IServiceCollection, BlueskyAgentOptions)
Configures options for a Bluesky agent.
public static IServiceCollection AddBlueskyAgentOptions(this IServiceCollection services, BlueskyAgentOptions configureOptions)Parameters
servicesIServiceCollection-
The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.
configureOptionsBlueskyAgentOptions-
A lambda which yields an instance of idunno.Bluesky.BlueskyAgentOptions.
Returns
- IServiceCollection
-
The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.