Table of Contents

Class SingleTypeParser<TOpt, T>

Namespace
Rinku.Mapping.Parsers.Defaults
Assembly
Rinku.dll

Requires exactly one result.

public sealed class SingleTypeParser<TOpt, T> : BaseSingleTypeParser<TOpt, T>, ITypeParser<TOpt>, ITypeParser, IDisposable where TOpt : struct, IWrapping<TOpt, T>

Type Parameters

TOpt
T
Inheritance
SingleTypeParser<TOpt, T>
Implements
Inherited Members
Extension Methods

Constructors

SingleTypeParser(ITypeParser<T>)

Requires exactly one result.

public SingleTypeParser(ITypeParser<T> elementParser)

Parameters

elementParser ITypeParser<T>

Methods

Default()

The value to return when the result has no row, an empty collection or optional, for instance.

public override TOpt Default()

Returns

TOpt