Method As
- Namespace
- DSharpPlus.Commands
- Assembly
- DSharpPlus.Commands.dll
As<T>()
Cast this context to a different one.
public T As<T>() where T : CommandContextReturns
- 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 : CommandContextThis context as T.
TThe type to cast to.