Table of Contents

Constructor DiscordConfiguration

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

DiscordConfiguration()

Creates a new configuration with default values.

public DiscordConfiguration()

DiscordConfiguration(IServiceProvider)

Utilized via dependency injection pipeline.

[ActivatorUtilitiesConstructor]
public DiscordConfiguration(IServiceProvider provider)

Parameters

provider IServiceProvider

The service provider.

DiscordConfiguration(DiscordConfiguration)

Creates a clone of another discord configuration.

public DiscordConfiguration(DiscordConfiguration other)

Parameters

other DiscordConfiguration

Client configuration to clone.