Interface IParser<TContract>
Generic interface for parsing raw data into a target type
public interface IParser<out TContract>
Type Parameters
TContractThe type to parse into
Methods
Parse(string)
Parses the provided input string into the target type
TContract Parse(string input)
Parameters
inputstringThe input data (e.g., XML, JSON)
Returns
- TContract
The parsed object