Esempio n. 1
0
 /// <nodoc />
 public static SidebandWriter Deserialize(BuildXLReader reader)
 {
     return(new SidebandWriter(
                metadata: SidebandMetadata.Deserialize(reader),
                sidebandLogFile: reader.ReadString(),
                rootDirectories: reader.ReadNullable(r => r.ReadReadOnlyList(r2 => r2.ReadString()))));
 }
Esempio n. 2
0
 /// <summary>
 /// Reads and returns the metadata.
 ///
 /// Before calling this method, <see cref="ReadHeader(bool)"/> must be called first.
 /// </summary>
 public SidebandMetadata ReadMetadata()
 {
     IncrementAndAssertOrder(cnt => cnt == 2, "ReadMetadata must be called second, right after ReadHeader");
     return(SidebandMetadata.Deserialize(m_bxlReader));
 }