示例#1
0
		public void SetDataFrom(BinaryReader reader)
		{
			_project = reader.ReadString();
			_timeSpent = new TimeSpan((long) reader.ReadDouble());
			var errors = reader.ReadInt32();
			for (int i = 0; i < errors; i++)
			{
				var message = new BuildMessage();
				message.SetDataFrom(reader);
				_errors.Add(message);
			}
			var warnings = reader.ReadInt32();
			for (int i = 0; i < warnings; i++)
			{
				var message = new BuildMessage();
				message.SetDataFrom(reader);
				_warnings.Add(message);
			}
		}
示例#2
0
        public void SetDataFrom(BinaryReader reader)
        {
            _project   = reader.ReadString();
            _timeSpent = new TimeSpan((long)reader.ReadDouble());
            var errors = reader.ReadInt32();

            for (int i = 0; i < errors; i++)
            {
                var message = new BuildMessage();
                message.SetDataFrom(reader);
                _errors.Add(message);
            }
            var warnings = reader.ReadInt32();

            for (int i = 0; i < warnings; i++)
            {
                var message = new BuildMessage();
                message.SetDataFrom(reader);
                _warnings.Add(message);
            }
        }
示例#3
0
 public void SetDataFrom(BinaryReader reader)
 {
     Project   = reader.ReadString();
     BuildItem = new BuildMessage();
     BuildItem.SetDataFrom(reader);
 }
 public void SetDataFrom(BinaryReader reader)
 {
     Project = reader.ReadString();
     BuildItem = new BuildMessage();
     BuildItem.SetDataFrom(reader);
 }