Search Results for

    Show / Hide Table of Contents

    Class ResultBase

    Inheritance
    object
    ResultBase
    EmptyResult
    RESTResponse
    ResultBase<T>
    Implements
    IResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9
    Assembly: Glitch9.dll
    Syntax
    public abstract class ResultBase : IResult

    Constructors

    | Edit this page View Source

    ResultBase()

    Declaration
    public ResultBase()
    | Edit this page View Source

    ResultBase(Exception, params string[])

    Declaration
    public ResultBase(Exception error, params string[] reasons)
    Parameters
    Type Name Description
    Exception error
    string[] reasons
    | Edit this page View Source

    ResultBase(string)

    Declaration
    public ResultBase(string errorMessage)
    Parameters
    Type Name Description
    string errorMessage

    Properties

    | Edit this page View Source

    ErrorMessage

    Declaration
    public string ErrorMessage { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Exception

    Declaration
    public Exception Exception { get; set; }
    Property Value
    Type Description
    Exception
    | Edit this page View Source

    IsFailure

    Declaration
    public virtual bool IsFailure { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsSuccess

    Declaration
    public virtual bool IsSuccess { get; }
    Property Value
    Type Description
    bool

    Implements

    IResult

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation