Table of Contents
API reference

Method WithType

Namespace
DisCatSharp.CommandsNext.Builders
Assembly
DisCatSharp.CommandsNext.dll

WithType(Type)

Sets the type this builder will construct a module out of.

public CommandModuleBuilder WithType(Type t)

Parameters

t Type

Type to build a module out of. It has to derive from BaseCommandModule.

Returns

CommandModuleBuilder

This builder.