Struct ValueParseResult
Represents the outcome of a value parser.
Implements
Inherited Members
Namespace: NanoRoute
Assembly: NanoRoute.dll
Syntax
public readonly struct ValueParseResult : IEquatable<ValueParseResult>
Constructors
ValueParseResult(bool, object?)
Represents the outcome of a value parser.
Declaration
public ValueParseResult(bool Success, object? Parsed)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | Success | true when the segment is accepted by the parser; otherwise false. |
| object | Parsed |
Properties
Parsed
Declaration
public object? Parsed { get; init; }
Property Value
| Type | Description |
|---|---|
| object |
Success
Declaration
public bool Success { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |