public BatchAgent(BatchConfig batchConfig) { _config = batchConfig; string ticks = System.DateTime.Now.Ticks.ToString(); _poolId = "Pool" + ticks; _jobId = "Job" + ticks; }
static void Main(string[] args) { BatchAgent batchAgent = new BatchAgent(BatchConfig.FromAppSettings()); batchAgent.Execute(); }