Interface IResult
A result object.
Namespace: Color_Chan.Discord.Core.Results
Assembly: Color-Chan.Discord.Core.dll
Syntax
public interface IResult
Properties
| Improve this Doc View SourceErrorResult
The error of the IResult.
Declaration
IErrorResult ErrorResult { get; }
Property Value
Type | Description |
---|---|
IErrorResult |
Remarks
Null if the result doesn't have an inner result.
InnerResult
The inner IResult.
Declaration
IResult InnerResult { get; }
Property Value
Type | Description |
---|---|
IResult |
Remarks
| Improve this Doc View SourceIsSuccessful
Whether or not the IResult is successful.
Declaration
bool IsSuccessful { get; }
Property Value
Type | Description |
---|---|
Boolean |