Beispiel #1
0
 public CreateNodeCommand(
     IUnitOfWork ctx,
     INodeLogger nodeLogger)
 {
     _ctx        = ctx;
     _nodeLogger = nodeLogger;
 }
Beispiel #2
0
 public NodeStartedHandler(
     IUnitOfWork dbCtx,
     IFindNodeQuery findNodeQuery,
     ICreateNodeCommand createNodeCommand,
     ITouchNode touchNode,
     IRfAddressStrategy rfIdGenerationStrategy,
     INodeLogger nodeLogger,
     ITimeProvider timeProvider)
     : base(dbCtx)
 {
     _timeProvider           = timeProvider;
     _findNodeQuery          = findNodeQuery;
     _createNodeCommand      = createNodeCommand;
     _touchNode              = touchNode;
     _rfIdGenerationStrategy = rfIdGenerationStrategy;
     _nodeLogger             = nodeLogger;
 }
Beispiel #3
0
 public TeamCityMsBuildLogger(IMutableContainer container)
 {
     _container = container;
     _logger    = _container.Resolve <INodeLogger>();
 }