コード例 #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
ファイル: IncrementalInfo.cs プロジェクト: xuan2261/docfx
 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;
     }
 }