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