Search Results for

    Show / Hide Table of Contents

    Class ListedResult<T>

    Represents an enumerated result of an operation.

    Inheritance
    Object
    ResultBase
    ListedResult<T>
    Inherited Members
    ResultBase.Status
    ResultBase.IsSuccess
    ResultBase.IsFailed
    ResultBase.Message
    ResultBase.Errors
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: SimpleResults
    Assembly: SimpleResults.dll
    Syntax
    public sealed class ListedResult<T> : ResultBase
    Type Parameters
    Name Description
    T

    The type of objects to enumerate.

    Constructors

    Name Description
    ListedResult()

    Initializes a new instance of the ListedResult<T> class.

    Properties

    Name Description
    Data

    Gets a list of data associated with the result.

    Operators

    Name Description
    Implicit(Result to ListedResult<T>)

    Converts an instance of type Result to ListedResult<T>.

    Implicit(Result<T[]> to ListedResult<T>)

    Converts an instance of type Result<T> to ListedResult<T>.

    Implicit(Result<IEnumerable<T>> to ListedResult<T>)

    Converts an instance of type Result<T> to ListedResult<T>.

    Implicit(Result<List<T>> to ListedResult<T>)

    Converts an instance of type Result<T> to ListedResult<T>.

    Extension Methods

    ResultExtensions.ToActionResult<T>(ListedResult<T>)
    ResultExtensions.ToHttpResult<T>(ListedResult<T>)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2023 SimpleResults