Class WorkerInstanceProviderExtensions
Generic extensions for work processor.
Inheritance
System.Object
WorkerInstanceProviderExtensions
Namespace: Cireson.Core.Common.Extensions
Assembly: Cireson.Core.Common.dll
Syntax
public static class WorkerInstanceProviderExtensions : object
Remarks
Admin, 8/24/2017.
Methods
View SourceGetWorkerProcessInstancesAsync<TWorkerType>(IWorkerInstanceProvider)
Generic implementation of GetWorkerProcessesOFTypeAsync, Returns instances of the specified type.
Declaration
public static Task<IEnumerable<TWorkerType>> GetWorkerProcessInstancesAsync<TWorkerType>(this IWorkerInstanceProvider provider)
where TWorkerType : IWorkerProcess
Parameters
Type | Name | Description |
---|---|---|
IWorkerInstanceProvider | provider | . |
Returns
Type | Description |
---|---|
Task<IEnumerable<TWorkerType>> | An asynchronous result that yields the worker process instances async< t worker type> |
Type Parameters
Name | Description |
---|---|
TWorkerType | . |
Remarks
Admin, 8/24/2017.