/// <summary> /// Adds new text record. /// </summary> /// <param name="key">Key.</param> /// <param name="value">Value.</param> public BimilRecord AddRecord(string key, string value, BimilRecordFormat format) { var record = new BimilRecord(this.Document, key, value, format); this.Records.Add(record); return(record); }
internal BimilRecord(BimilDocument document, string key, string value, BimilRecordFormat format) { this.Document = document; this.Key = new BimilValue(document) { Text = key }; this.Value = new BimilValue(document) { Text = value }; this.Format = format; }