Show / Hide Table of Contents

Class ParseResult

The result of a parsing operation.

Inheritance
object
ParseResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Petabridge.Cmd
Assembly: Petabridge.Cmd.Common.dll
Syntax
public sealed class ParseResult

Constructors

ParseResult(bool, IEnumerable<ValidationError>, Command)

Declaration
public ParseResult(bool success, IEnumerable<ValidationError> parseErrors, Command result)
Parameters
Type Name Description
bool success
IEnumerable<ValidationError> parseErrors
Command result

Properties

ParseErrors

Declaration
public IEnumerable<ValidationError> ParseErrors { get; }
Property Value
Type Description
IEnumerable<ValidationError>

Result

Declaration
public Command Result { get; }
Property Value
Type Description
Command

Success

Declaration
public bool Success { get; }
Property Value
Type Description
bool
In this article
Back to top Generated by DocFX