public ScalarResultItem WithMetadata(ScalarMetadataItem metadata) { return(new ScalarResultItem(this.Name, this.Data, metadata)); }
public ScalarResultItem(string name, IReadOnlyList <string> data, ScalarMetadataItem metadata = null) { this.Name = name; this.Data = data; this.Metadata = metadata; }