Struct ParseResult<T> | Quick Search | 1.5.4
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ParseResult<T>

    A ParseResult holds the result of a parsing operation.

    Namespace: Unity.QuickSearch
    Syntax
    public struct ParseResult<T> : IParseResult
    Type Parameters
    Name Description
    T

    Type of the result of the parsing operation.

    Constructors

    ParseResult(Boolean, T)

    Create a ParseResult.

    Declaration
    public ParseResult(bool success, T value)
    Parameters
    Type Name Description
    Boolean success

    Flag indicating if the parsing succeeded or not.

    T value

    Actual result of the parsing.

    Fields

    parsedValue

    Actual result of the parsing.

    Declaration
    public readonly T parsedValue
    Field Value
    Type Description
    T

    Properties

    success

    Flag indicating if the parsing succeeded or not.

    Declaration
    public bool success { get; }
    Property Value
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023