Пример #1
0
 public ConventionCommandPipeline(IConventionCommandInvoker invoker, IDomainObjectLocator locator,
                                  params Assembly[] domainObjectAssemblies)
 {
     this.locator = locator;
     this.invoker = invoker;
     BindDomainObjects(domainObjectAssemblies);
 }
Пример #2
0
 public ConventionCommandPipeline(IConventionCommandInvoker invoker, IDomainObjectLocator locator,
                                  ILoggerFactory loggerFactory,
                                  params Assembly[] domainObjectAssemblies)
 {
     this.locator = locator;
     this.invoker = invoker;
     logger       = loggerFactory.CreateLogger <ConventionCommandPipeline>();
     BindDomainObjects(domainObjectAssemblies);
 }