Class PolymorphicQcParser<T>
Parser for all types inheriting from a single type.
Inheritance
PolymorphicQcParser<T>
Assembly: QFSW.QC.dll
Syntax
public abstract class PolymorphicQcParser<T> : IQcParser where T : class
Type Parameters
Name |
Description |
T |
Base type of the types to parse.
|
Properties
Priority
Declaration
public virtual int Priority { get; }
Property Value
Methods
CanParse(Type)
Declaration
public bool CanParse(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Parse(String, Type)
Declaration
public abstract T Parse(string value, Type type)
Parameters
Returns
Parse(String, Type, Func<String, Type, Object>)
Declaration
public virtual object Parse(string value, Type type, Func<string, Type, object> recursiveParser)
Parameters
Returns
ParseRecursive(String, Type)
Declaration
protected object ParseRecursive(string value, Type type)
Parameters
Returns
ParseRecursive<TElement>(String)
Declaration
protected TElement ParseRecursive<TElement>(string value)
Parameters
Type |
Name |
Description |
String |
value |
|
Returns
Type |
Description |
TElement |
|
Type Parameters
Name |
Description |
TElement |
|
Implements
Extension Methods