[]
Save snapshot to specified stream.
public static void Save<T>(Stream output, T data, bool formatted = false)
| Type | Name | Description |
|---|---|---|
| Stream | output | output stream |
| T | data | snapshot data |
| bool | formatted | specifies if snapshot data is formatted |
| Name | Description |
|---|---|
| T | snapshot Type |
Save snapshot using specified textwriter.
public static void Save<T>(TextWriter textWriter, T data, bool formatted = false)
| Type | Name | Description |
|---|---|---|
| TextWriter | textWriter | text writer |
| T | data | snapshot data |
| bool | formatted | specifies if snapshot data is formatted |
| Name | Description |
|---|---|
| T | snapshot Type |
Save snapshot to specified file.
public static void Save<T>(FileInfo file, T data, bool formatted = false)
| Type | Name | Description |
|---|---|---|
| FileInfo | file | output file |
| T | data | snapshot data |
| bool | formatted | specifies if snapshot data is formatted |
| Name | Description |
|---|---|
| T | snapshot Type |