Table of Contents

Class ServiceCollectionExtensions

Namespace
idunno.Bluesky
Assembly
idunno.Bluesky.dll

Service Collection extensions for building

public static class ServiceCollectionExtensions

Inheritance

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

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.

configuration IConfiguration

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

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.

configSectionPath string

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

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.

configureOptions Action<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

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.

configureOptions 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, 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

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.

configuration IConfiguration

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

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.

configSectionPath string

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

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.

configureOptions Action<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

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.

configureOptions 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, 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

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.

configuration IConfiguration

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

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.

configSectionPath string

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

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.

configureOptions Action<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

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the configuration to.

configureOptions 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.