Executes queued work synchronously on a dedicated STA background thread.
More...
|
| | StaWorkerSync (string name) |
| | Initializes a new STA worker thread with the provided thread name.
|
| T | Invoke< T > (Func< T > func) |
| | Invokes work on the STA worker thread and returns its result.
|
| void | Dispose () |
Executes queued work synchronously on a dedicated STA background thread.
◆ StaWorkerSync()
| FileSurfer.Windows.Services.Shell.StaWorkerSync.StaWorkerSync |
( |
string | name | ) |
|
|
inline |
Initializes a new STA worker thread with the provided thread name.
- Parameters
-
| name | The worker thread name. |
◆ Dispose()
| void FileSurfer.Windows.Services.Shell.StaWorkerSync.Dispose |
( |
| ) |
|
|
inline |
◆ Invoke< T >()
| T FileSurfer.Windows.Services.Shell.StaWorkerSync.Invoke< T > |
( |
Func< T > | func | ) |
|
|
inline |
Invokes work on the STA worker thread and returns its result.
- Parameters
-
| func | The function to execute. |
- Returns
- The function result.
The documentation for this class was generated from the following file:
- /home/janecea/Documents/CODE/PROJECTS/FileSurfer/src/FileSurfer.Windows/Services/Shell/StaWorkerSync.cs