[]
Loads content from the string asynchronously.
public Task LoadDocumentAsync(string str, StringType strType = StringType.Url)
Type | Name | Description |
---|---|---|
string | str | The string to load. |
StringType | strType | Type of the load string. |
Type | Description |
---|---|
Task |
Loads content from the stream asynchronously.
public Task LoadDocumentAsync(Stream stream, bool leaveOpen = false)
Type | Name | Description |
---|---|---|
Stream | stream | The stream of document to load. |
bool | leaveOpen | true to leave the stream open after the System.IO.BinaryReader object is disposed; otherwise, false. |
Type | Description |
---|---|
Task |