Example #1
0
        public EosService(AgentContext ef, ProcessService proc, IHubContext <AgentHub> hub)
        {
            if (!Directory.Exists(_dasdaqRootPath))
            {
                Directory.CreateDirectory(_dasdaqRootPath);
            }
            if (!Directory.Exists(_instancesPath))
            {
                Directory.CreateDirectory(_instancesPath);
            }
            if (!Directory.Exists(_contractsFolderPath))
            {
                Directory.CreateDirectory(_contractsFolderPath);
            }
            if (!Directory.Exists(_tempFolderPath))
            {
                Directory.CreateDirectory(_tempFolderPath);
            }

            _ef   = ef;
            _proc = proc;
            _hub  = hub;
        }
Example #2
0
 public DappService(AgentContext ef, ProcessService proc, IHubContext <AgentHub> hub)
 {
     _ef   = ef;
     _proc = proc;
     _hub  = hub;
 }