Method As
- Namespace
- DSharpPlus.Commands
- Assembly
- DSharpPlus.Commands.dll
As<T>()
Cast this context to a different one.
public T As<T>() where T : CommandContext
Returns
- T
This context as T.
Type Parameters
T
The type to cast to.
Cast this context to a different one.
public T As<T>() where T : CommandContext
This context as T.
T
The type to cast to.