public AssemblerService(IFileService fileService, ISymbolService symbolService,
                         IAssemblerFactory assemblerFactory)
 {
     _fileService      = fileService;
     _symbolService    = symbolService;
     _assemblerFactory = assemblerFactory;
 }
 internal InternalBuildStep(int number, BuildStepType type, FilePath inputFile, FilePath outputFile,
                            IAssemblerFactory assemblerFactory)
 {
     _stepNumber       = number;
     _stepType         = type;
     _inputFile        = inputFile;
     _outputFile       = outputFile;
     _assemblerFactory = assemblerFactory;
 }
Esempio n. 3
0
 public PowMining(
     IConsensusLoop consensusLoop,
     ConcurrentChain chain,
     Network network,
     IAssemblerFactory blockAssemblerFactory,
     INodeLifetime nodeLifetime,
     IAsyncLoopFactory asyncLoopFactory,
     ILoggerFactory loggerFactory)
 {
     this.consensusLoop         = consensusLoop;
     this.chain                 = chain;
     this.network               = network;
     this.blockAssemblerFactory = blockAssemblerFactory;
     this.nodeLifetime          = nodeLifetime;
     this.asyncLoopFactory      = asyncLoopFactory;
     this.logger                = loggerFactory.CreateLogger(this.GetType().FullName);
 }