Struct ArgumentBindingResult
Represents a argument binding result.
Namespace: DisCatSharp.CommandsNext.Converters
Assembly: DisCatSharp.CommandsNext.dll
Syntax
public struct ArgumentBindingResult
Constructors
| Improve this Doc View SourceArgumentBindingResult(Exception)
Initializes a new instance of the ArgumentBindingResult class.
Declaration
public ArgumentBindingResult(Exception ex)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | ex | The ex. |
ArgumentBindingResult(Object[], IReadOnlyList<String>)
Initializes a new instance of the ArgumentBindingResult class.
Declaration
public ArgumentBindingResult(object[] converted, IReadOnlyList<string> raw)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | converted | The converted. |
System.Collections.Generic.IReadOnlyList<System.String> | raw | The raw. |
Properties
| Improve this Doc View SourceConverted
Gets the converted.
Declaration
public readonly object[] Converted { get; }
Property Value
Type | Description |
---|---|
System.Object[] |
IsSuccessful
Gets a value indicating whether the binding is successful.
Declaration
public readonly bool IsSuccessful { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Raw
Gets the raw.
Declaration
public readonly IReadOnlyList<string> Raw { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<System.String> |
Reason
Gets the reason.
Declaration
public readonly Exception Reason { get; }
Property Value
Type | Description |
---|---|
System.Exception |