Exemplo n.º 1
0
 private BuildMessageInfo(IDictionary <string, List <LogItem> > logs)
 {
     if (logs == null)
     {
         throw new ArgumentNullException(nameof(logs));
     }
     _logs = new OSPlatformSensitiveDictionary <List <LogItem> >(logs);
 }
Exemplo n.º 2
0
        /// <summary>
        /// report model load info
        /// </summary>
        /// <param name="hostService">host service</param>
        /// <param name="file">the model's LocalPathFromRoot</param>
        /// <param name="phase">the buildphase that the model was loaded at</param>
        public void ReportModelLoadInfo(HostService hostService, string file, BuildPhase?phase)
        {
            OSPlatformSensitiveDictionary <BuildPhase?> mi = null;
            string name = hostService.Processor.Name;

            if (!_modelLoadInfo.TryGetValue(name, out mi))
            {
                _modelLoadInfo[name] = mi = new OSPlatformSensitiveDictionary <BuildPhase?>();
            }
            mi[file] = phase;
        }
Exemplo n.º 3
0
 public BuildMessageInfo()
 {
     _logs = new OSPlatformSensitiveDictionary <List <LogItem> >();
 }