API Reference
Class
ContentLineReaderOptions
Bounded parser policy shared by first-class iCalendar and vCard readers.
Inheritance
- Object
- ContentLineReaderOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ContentLineReaderOptions.Default
- Property EmailDataOpenOptions.ContentLines
Accepted by parameters
- Constructor EmailDataOpenOptions.EmailDataOpenOptions
- Method IcsDocument.Load
- Method IcsDocument.Load
- Method IcsDocument.Load
- Method IcsDocument.LoadAsync
- Method IcsDocument.LoadAsync
- Method IcsDocument.Parse
- Method VCardDocument.Load
- Method VCardDocument.Load
- Method VCardDocument.Load
- Method VCardDocument.LoadAsync
- Method VCardDocument.LoadAsync
- Method VCardDocument.Parse
Constructors
public ContentLineReaderOptions(Int64 maxInputBytes = 16777216, Int32 maxUnfoldedLineBytes = 1048576, Int32 maxComponents = 100000, Int32 maxProperties = 1000000, Int32 maxNestingDepth = 32, Encoding encoding = null) #Creates a bounded content-line reader policy.
Parameters
- maxInputBytes System.Int64 = 16777216
- maxUnfoldedLineBytes System.Int32 = 1048576
- maxComponents System.Int32 = 100000
- maxProperties System.Int32 = 1000000
- maxNestingDepth System.Int32 = 32
- encoding System.Text.Encoding = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public static ContentLineReaderOptions Default { get; } #Default bounded reader policy.
public Int64 MaxInputBytes { get; } #Maximum source bytes accepted.
public Int32 MaxUnfoldedLineBytes { get; } #Maximum UTF-8 byte length of one unfolded logical line.
public Int32 MaxComponents { get; } #Maximum components accepted across the document.
public Int32 MaxProperties { get; } #Maximum properties accepted across the document.
public Int32 MaxNestingDepth { get; } #Maximum component nesting depth, up to the model traversal limit of 256.
public Encoding Encoding { get; } #Encoding used to decode the source. UTF-8 without replacement fallback is the default.