public override void Configure(IProcessorOptions config)
 {
     Log.LogInformation("Processor::Configure");
     _config = (WorkItemMigrationProcessorOptions)config;
     Endpoints.ConfigureEndpoints(config.Endpoints);
     ProcessorEnrichers.ConfigureEnrichers(config.Enrichers);
 }
コード例 #2
0
 public virtual void Configure(IProcessorOptions options)
 {
     Log.LogInformation("Processor::Configure");
     Endpoints.ConfigureEndpoints(options.Source, options.Target);
     ProcessorEnrichers.ConfigureEnrichers(options.ProcessorEnrichers);
     _ProcessorConfigured = true;
 }