Пример #1
0
        public BatchAgent(BatchConfig batchConfig)
        {
            _config = batchConfig;
            string ticks = System.DateTime.Now.Ticks.ToString();

            _poolId = "Pool" + ticks;
            _jobId  = "Job" + ticks;
        }
Пример #2
0
        static void Main(string[] args)
        {
            BatchAgent batchAgent = new BatchAgent(BatchConfig.FromAppSettings());

            batchAgent.Execute();
        }