Search Results for

    Show / Hide Table of Contents

    Struct ParseResult

    dto used to hold the result of a value parsing operation

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

    Constructors

    ParseResult(Boolean, Object)

    constructor for initializsing a ParseResult instance

    Declaration
    public ParseResult(bool isSuccess, object value)
    Parameters
    Type Name Description
    System.Boolean isSuccess

    set to true of parsing was successful

    System.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
    System.Boolean

    Value

    will hold the parsed value if the parsing was successful

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