protected virtual async Task Log(ImportEntityCommand command) { var commercePipelineExecutionContextOptions = new CommercePipelineExecutionContextOptions( new CommerceContext(CommerceContext.Logger, CommerceContext.TelemetryClient) { Environment = CommerceContext.Environment }); await ServiceProvider.GetService <ILogEntityImportResultPipeline>() .Run(new LogEntityImportResultArgument(command), commercePipelineExecutionContextOptions) .ConfigureAwait(false); }
public LogEntityImportResultArgument(ImportEntityCommand importEntityCommand) { ImportEntityCommand = importEntityCommand; }