namespace VpSharp.Commands;
///
/// Extension methods for .
///
public static class VirtualParadiseClientExtensions
{
///
/// Registers to be used with the current client.
///
/// The .
/// The configuration required for the extensions.
/// The commands extension instance.
/// is .
public static CommandsExtension UseCommands(this VirtualParadiseClient client, CommandsExtensionConfiguration configuration)
{
if (client is null)
{
throw new ArgumentNullException(nameof(client));
}
return client.AddExtension(configuration);
}
}