Class UnitTestPlugin
Batch task wrapper for Saint synchronization
NOT IN USE!
Implements
Inherited Members
Namespace: SuperOffice.CRM.BatchProcessing.Plugins
Assembly: SoBatchProcessing.dll
Syntax
[BatchTask("UnitTestPlugin")]
public sealed class UnitTestPlugin : BatchTaskBase, IBatchTask
Constructors
UnitTestPlugin(IBatchData, IBatchServiceConfiguration, ILogger<UnitTestPlugin>)
Batch task wrapper for Saint synchronization
NOT IN USE!
Declaration
public UnitTestPlugin(IBatchData batchData, ConfigFile.IBatchServiceConfiguration batchServiceConfiguration, ILogger<UnitTestPlugin> logger)
Parameters
| Type | Name | Description |
|---|---|---|
| IBatchData | batchData | |
| ConfigFile.IBatchServiceConfiguration | batchServiceConfiguration | |
| ILogger<UnitTestPlugin> | logger |
Fields
PluginName
Batch task wrapper for Saint synchronization
NOT IN USE!
Declaration
public const string PluginName = "UnitTestPlugin"
Field Value
| Type | Description |
|---|---|
| string |
Methods
RunAsync(string, string, CancellationToken)
Run the task.
Declaration
protected override Task<bool> RunAsync(string name, string context, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Name of the task. |
| string | context | Context for the task. |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<bool> | True if the task succeeded. |
Overrides
Remarks
Call SetResult(string) as needed.