Search Results for

    Show / Hide Table of Contents

    Struct ParseResult

    dto used to hold the result of a value parsing operation

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: FastEndpoints
    Assembly: FastEndpoints.Attributes.dll
    Syntax
    public struct ParseResult

    Constructors

    ParseResult(bool, object?)

    constructor for initializing a ParseResult instance

    Declaration
    public ParseResult(bool isSuccess, object? value)
    Parameters
    Type Name Description
    bool isSuccess

    set to true of parsing was successful

    object value

    set the value that was obtained from the parsing operation

    Properties

    IsSuccess

    will be true if the parsing operation was a success

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

    Value

    will hold the parsed value if the parsing was successful

    Declaration
    public object? Value { readonly get; set; }
    Property Value
    Type Description
    object
    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX