Class ShardedGatewayClientServiceCollectionExtensions
- Namespace
- NetCord.Hosting.Gateway
- Assembly
- NetCord.Hosting.dll
public static class ShardedGatewayClientServiceCollectionExtensions
- Inheritance
-
ShardedGatewayClientServiceCollectionExtensions
- Inherited Members
-
Methods
AddDiscordShardedGateway(IServiceCollection)
public static IServiceCollection AddDiscordShardedGateway(this IServiceCollection services)
Parameters
services
IServiceCollection
Returns
- IServiceCollection
AddDiscordShardedGateway(IServiceCollection, Action<ShardedGatewayClientOptions, IServiceProvider>)
public static IServiceCollection AddDiscordShardedGateway(this IServiceCollection services, Action<ShardedGatewayClientOptions, IServiceProvider> configureOptions)
Parameters
services
IServiceCollection
configureOptions
Action<ShardedGatewayClientOptions, IServiceProvider>
Returns
- IServiceCollection
AddDiscordShardedGateway(IServiceCollection, Action<ShardedGatewayClientOptions>)
public static IServiceCollection AddDiscordShardedGateway(this IServiceCollection services, Action<ShardedGatewayClientOptions> configureOptions)
Parameters
services
IServiceCollection
configureOptions
Action<ShardedGatewayClientOptions>
Returns
- IServiceCollection
public static IServiceCollection ConfigureDiscordShardedGateway(this IServiceCollection services, Action<ShardedGatewayClientOptions, IServiceProvider> configureOptions)
Parameters
services
IServiceCollection
configureOptions
Action<ShardedGatewayClientOptions, IServiceProvider>
Returns
- IServiceCollection
public static IServiceCollection ConfigureDiscordShardedGateway(this IServiceCollection services, Action<ShardedGatewayClientOptions> configureOptions)
Parameters
services
IServiceCollection
configureOptions
Action<ShardedGatewayClientOptions>
Returns
- IServiceCollection