Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Interface IHostedCommandsServiceBuilder

    Builder for hosted commands service.

    Namespace: Microsoft.Extensions.DependencyInjection
    Assembly: Wolfringo.Hosting.dll
    Syntax
    public interface IHostedCommandsServiceBuilder

    Methods

    | Improve this Doc View Source

    Configure(Action<CommandsOptions>)

    Alters configuration of Command Service.

    Declaration
    IHostedCommandsServiceBuilder Configure(Action<CommandsOptions> configure)
    Parameters
    Type Name Description
    System.Action<CommandsOptions> configure
    Returns
    Type Description
    IHostedCommandsServiceBuilder
    | Improve this Doc View Source

    ConfigureArgumentConverterProvider(Action<ArgumentConverterProviderOptions>)

    Alters configuration of Argument Converter Provider.

    Declaration
    IHostedCommandsServiceBuilder ConfigureArgumentConverterProvider(Action<ArgumentConverterProviderOptions> configure)
    Parameters
    Type Name Description
    System.Action<ArgumentConverterProviderOptions> configure
    Returns
    Type Description
    IHostedCommandsServiceBuilder
    | Improve this Doc View Source

    ConfigureArgumentsParser(Action<ArgumentsParserOptions>)

    Alters configuration of Arguments Parser.

    Declaration
    IHostedCommandsServiceBuilder ConfigureArgumentsParser(Action<ArgumentsParserOptions> configure)
    Parameters
    Type Name Description
    System.Action<ArgumentsParserOptions> configure
    Returns
    Type Description
    IHostedCommandsServiceBuilder
    | Improve this Doc View Source

    ConfigureCommandInitializerProvider(Action<CommandInitializerProviderOptions>)

    Alters configuration of Command Initializer Provider.

    Declaration
    IHostedCommandsServiceBuilder ConfigureCommandInitializerProvider(Action<CommandInitializerProviderOptions> configure)
    Parameters
    Type Name Description
    System.Action<CommandInitializerProviderOptions> configure
    Returns
    Type Description
    IHostedCommandsServiceBuilder

    Extension Methods

    CommandsServiceCollectionExtensions.SetPrefix(IHostedCommandsServiceBuilder, String, PrefixRequirement)
    CommandsServiceCollectionExtensions.SetCaseSensitive(IHostedCommandsServiceBuilder, Boolean)
    CommandsServiceCollectionExtensions.SetPrefix(IHostedCommandsServiceBuilder, String)
    CommandsServiceCollectionExtensions.SetPrefixRequirement(IHostedCommandsServiceBuilder, PrefixRequirement)
    CommandsServiceCollectionExtensions.EnableDefaultHelpCommand(IHostedCommandsServiceBuilder)
    CommandsServiceCollectionExtensions.RemoveDefaultHandlers(IHostedCommandsServiceBuilder)
    CommandsServiceCollectionExtensions.AddHandlers(IHostedCommandsServiceBuilder, Type[])
    CommandsServiceCollectionExtensions.AddHandler<T>(IHostedCommandsServiceBuilder)
    CommandsServiceCollectionExtensions.AddHandlers(IHostedCommandsServiceBuilder, Assembly[])
    CommandsServiceCollectionExtensions.AddArgumentBlockMarker(IHostedCommandsServiceBuilder, Char, Char)
    CommandsServiceCollectionExtensions.RemoveArgumentBlockMarker(IHostedCommandsServiceBuilder, Char)
    CommandsServiceCollectionExtensions.SetArgumentBaseMarker(IHostedCommandsServiceBuilder, Char)
    CommandsServiceCollectionExtensions.MapCommandInitializer(IHostedCommandsServiceBuilder, Type, ICommandInitializer)
    CommandsServiceCollectionExtensions.SetEnumArgumentConverter(IHostedCommandsServiceBuilder, IArgumentConverter)
    CommandsServiceCollectionExtensions.MapArgumentConverter(IHostedCommandsServiceBuilder, Type, IArgumentConverter)