コード例 #1
0
 public static BuildLogged ReadDataFrom(BinaryReader reader)
 {
     return(new BuildLogged
     {
         BuildId = GuidSerializer.ReadGuid(reader),
         Text = reader.ReadString()
     });
 }
コード例 #2
0
 public static BuildIssueDetected ReadDataFrom(BinaryReader reader)
 {
     return(new BuildIssueDetected
     {
         BuildId = GuidSerializer.ReadGuid(reader),
         Severity = (BuildIssueType)Enum.Parse(typeof(BuildIssueType), reader.ReadString()),
         Code = reader.ReadString(),
         Message = reader.ReadString(),
         Source = Optional.Read(reader, (Func <BinaryReader, SourceReference>)SourceReference.Read),
     });
 }