Class WolfClientBuilderCommandsExtensions
Extension methods for WolfClientBuilder that enable easy creation together with commands.
Inheritance
System.Object
    WolfClientBuilderCommandsExtensions
  Namespace: TehGM.Wolfringo
Assembly: Wolfringo.Commands.dll
Syntax
public static class WolfClientBuilderCommandsExtensionsMethods
| Improve this Doc View SourceWithCommands(WolfClientBuilder, Action<CommandsServiceBuilder>)
Adds CommandsService together with WolfClient, and allows configuration.
Declaration
public static WolfClientBuilder WithCommands(this WolfClientBuilder clientBuilder, Action<CommandsServiceBuilder> commandsBuilder)Parameters
| Type | Name | Description | 
|---|---|---|
| WolfClientBuilder | clientBuilder | The WOLF client builder. | 
| System.Action<CommandsServiceBuilder> | commandsBuilder | Delegate that can be used to configure commands. | 
Returns
| Type | Description | 
|---|---|
| WolfClientBuilder | Current WOLF Client builder instance. | 
Remarks
When using this method, any calls to WithWolfClient<TImplementation>() will be overriden.
