Reload(bool, CancellationToken)
Synchronously reloads all projects in the current workspace.
Declaration
public Workspace Reload(bool restore = true, CancellationToken cancellationToken = default)Parameters
| Type | Name | Description |
|---|---|---|
| bool | restore | Indicates whether to run |
| CancellationToken | cancellationToken | A cancellation token. |
Returns
| Type | Description |
|---|---|
| Workspace | The current workspace instance after reloading. |