namespace VpSharp.Commands;
///
/// Defines configuration for .
///
public sealed class CommandsExtensionConfiguration
{
///
/// Initializes a new instance of the class.
///
/// The configuration to copy.
public CommandsExtensionConfiguration(CommandsExtensionConfiguration? configuration = null)
{
if (configuration is null)
{
return;
}
Prefixes = configuration.Prefixes;
Services = configuration.Services;
}
///
/// Gets or sets the prefixes to be use for commands.
///
/// The command prefixes, as an array of values.
public IReadOnlyList Prefixes { get; set; } = Array.Empty();
///
/// Gets or sets the service provider.
///
/// The service provider.
public IServiceProvider? Services { get; set; }
}