Search Results for

    Show / Hide Table of Contents

    Struct CommandResult

    Represents a command's execution result.

    Namespace: DisCatSharp.CommandsNext
    Assembly: DisCatSharp.CommandsNext.dll
    Syntax
    public struct CommandResult

    Properties

    | Improve this Doc View Source

    Context

    Gets the context in which the command was executed.

    Declaration
    public CommandContext Context { readonly get; }
    Property Value
    Type Description
    CommandContext
    | Improve this Doc View Source

    Exception

    Gets the exception (if any) that occurred when executing the command.

    Declaration
    public Exception Exception { readonly get; }
    Property Value
    Type Description
    System.Exception
    | Improve this Doc View Source

    IsSuccessful

    Gets whether the command execution succeeded.

    Declaration
    public bool IsSuccessful { readonly get; }
    Property Value
    Type Description
    System.Boolean

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems