Пример #1
0
        public void ReportProcessorStatus(string processor, bool canIncremental, string details = null)
        {
            IncrementalStatus status;

            if (!_processors.TryGetValue(processor, out status))
            {
                _processors[processor] = status = new IncrementalStatus();
            }
            status.CanIncremental = canIncremental;
            status.Details        = details;
        }
Пример #2
0
 public void ReportProcessorStatus(string processor, bool canIncremental, string details = null, string fullBuildReasonCode = null)
 {
     lock (_syncRoot)
     {
         if (!_processors.TryGetValue(processor, out IncrementalStatus status))
         {
             _processors[processor] = status = new IncrementalStatus();
         }
         status.CanIncremental      = canIncremental;
         status.Details             = details;
         status.FullBuildReasonCode = fullBuildReasonCode;
     }
 }