Class CSMailMergeBatchPlugin
CSMailMergeBatchPlugin will run a mail merge operation in the batch system.
Implements
Inherited Members
Namespace: SuperOffice.CRM.BatchProcessing.Plugins
Assembly: SoBatchProcessing.dll
Syntax
[BatchTask("CSMailMergeBatchPlugin")]
public class CSMailMergeBatchPlugin : BatchTaskBase, IBatchTask
Constructors
CSMailMergeBatchPlugin(IBatchData, IDocumentAgent, IBatchServiceConfiguration, ILogger<CSMailMergeBatchPlugin>, IPersonAgent, ICacheManager)
CSMailMergeBatchPlugin will run a mail merge operation in the batch system.
Declaration
public CSMailMergeBatchPlugin(IBatchData batchData, IDocumentAgent documentAgent, ConfigFile.IBatchServiceConfiguration batchServiceConfiguration, ILogger<CSMailMergeBatchPlugin> logger, IPersonAgent personAgent, ICacheManager cacheManager)
Parameters
| Type | Name | Description |
|---|---|---|
| IBatchData | batchData | |
| IDocumentAgent | documentAgent | |
| ConfigFile.IBatchServiceConfiguration | batchServiceConfiguration | |
| ILogger<CSMailMergeBatchPlugin> | logger | |
| IPersonAgent | personAgent | |
| ICacheManager | cacheManager |
Fields
PluginName
CSMailMergeBatchPlugin will run a mail merge operation in the batch system.
Declaration
public const string PluginName = "CSMailMergeBatchPlugin"
Field Value
| Type | Description |
|---|---|
| string |
Methods
RunAsync(string, string, CancellationToken)
CSMailMergeBatchPlugin will run a mail merge operation in the batch system.
Declaration
protected override Task<bool> RunAsync(string name, string context, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| string | context | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<bool> |