Method SaveToAsync
SaveToAsync(string, bool, CancellationToken)
Saves the document to given path
Declaration
Task SaveToAsync(string path, bool coreOnly, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | The path to save the document to |
| bool | coreOnly | True if only the core model should be saved (without generated data) |
| CancellationToken | cancellationToken | The optional cancellation token |
Returns
| Type | Description |
|---|---|
| Task | A task that represents the work |