Table of Contents

Interface IParser<TContract>

Namespace
DotBahn.Common.Parsing
Assembly
DotBahn.Common.dll

Generic interface for parsing raw data into a target type

public interface IParser<out TContract>

Type Parameters

TContract

The type to parse into

Methods

Parse(string)

Parses the provided input string into the target type

TContract Parse(string input)

Parameters

input string

The input data (e.g., XML, JSON)

Returns

TContract

The parsed object