Class ValueParserRegistration

Stores a named value parser together with its argument binder.

Inheritance
object
ValueParserRegistration
Implements
IEquatable<ValueParserRegistration>
Inherited Members
object.GetType()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: NanoRoute
Assembly: NanoRoute.dll
Syntax
public sealed record ValueParserRegistration : IEquatable<ValueParserRegistration>
Examples
ValueParserRegistration registration = builder.ValueParsers["int"];

Constructors

ValueParserRegistration(string, ValueParserDelegate, BindArgumentsDelegate)

Stores a named value parser together with its argument binder.

Declaration
public ValueParserRegistration(string Name, ValueParserDelegate Parse, BindArgumentsDelegate BindArguments)
Parameters
Type Name Description
string Name
ValueParserDelegate Parse
BindArgumentsDelegate BindArguments
Examples
ValueParserRegistration registration = builder.ValueParsers["int"];

Properties

BindArguments

Declaration
public BindArgumentsDelegate BindArguments { get; init; }
Property Value
Type Description
BindArgumentsDelegate

Name

Declaration
public string Name { get; init; }
Property Value
Type Description
string

Parse

Declaration
public ValueParserDelegate Parse { get; init; }
Property Value
Type Description
ValueParserDelegate

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX