Class ParserOptions
Options for parsing HTTP bodies
Namespace: Seltzr.Options
Assembly: Seltzr.dll
Syntax
C#
public class ParserOptions
Properties
Gets or sets a list of default values for parsed properties
C#
public Dictionary<PropertyInfo, Func<object>> DefaultPropertyValues { get; set; }
Property Value
Dictionary<PropertyInfo, Func<Object>>Gets or sets a list of properties that are ignored if their values are set
C#
public List<PropertyInfo> IgnoredParseProperties { get; set; }
Property Value
List<PropertyInfo>Gets or sets a value indicating whether or not the parser should accept arrays
C#
public bool ParseArrays { get; set; }
Property Value
BooleanGets or sets a list of properties that are required when parsing
C#
public List<PropertyInfo> RequiredParseProperties { get; set; }
Property Value
List<PropertyInfo>Methods
Makes a copy of these ParserOptions
C#
public ParserOptions Copy()
Returns
A copy of these ParserOptions