public bool CompareName(CoalesceDocument document, bool ignoreCase = false) { if (document == null) { throw new ArgumentNullException(nameof(document)); } return(CompareName(document.Name, ignoreCase)); }
public void MergeRight(CoalesceDocument document) { if (document == null) { throw new ArgumentNullException(nameof(document)); } throw new NotImplementedException(); }
public void Combine(CoalesceDocument document) { if (document == null) { throw new ArgumentNullException(nameof(document)); } foreach (var section in document.Sections) { if (!Sections.ContainsKey(section.Key)) { Sections.Add(section.Key, section.Value); } else { Sections[section.Key].Combine(section.Value); } } }