Exemplo n.º 1
0
 public Environ(IEnvironment environment)
 {
     Id                 = environment.Id;
     Name               = string.Copy(environment.Name);
     SortOrder          = environment.SortOrder;
     ContinueProcessing = environment.ContinueProcessing;
     Domains            = Domains(environment.Domains);
     WatchLocks         = new Locker[PipeLineStagesLength];
     Watchers           = new List <Watcher> [PipeLineStagesLength];
     for (var index = 0; index != PipeLineStagesLength; index++)
     {
         WatchLocks[index] = new Locker();
         Watchers[index]   = new List <Watcher>();
     }
 }