/// <nodoc /> public static Qualifier Deserialize(BuildXLReader reader) { Contract.RequiresNotNull(reader); var keys = reader.ReadArray(r => r.ReadStringId()); var values = reader.ReadArray(r => r.ReadStringId()); return(new Qualifier(keys, values)); }
/// <nodoc /> public static QualifierSpace Deserialize(BuildXLReader reader) { Contract.Requires(reader != null); var keys = reader.ReadArray(r => r.ReadStringId()); var defaults = reader.ReadArray(r => r.ReadStringId()); var valueValues = reader.ReadArray(r => r.ReadArray(r2 => r2.ReadStringId())); return(new QualifierSpace(keys, defaults, valueValues)); }
/// <summary> /// Initializes a new instance of the <see cref="ContentHashList" /> class from its binary representation. /// </summary> public static ContentHashList Deserialize(BuildXLReader reader) { Contract.Requires(reader != null); var contentHashes = reader.ReadArray(r => new ContentHash(r)); var payload = ReadNullableArray(reader); return(new ContentHashList(contentHashes, payload)); }