internal AdvancedDataViewModel(InheritableDictionary inheritableDictionary, string filter) { if (null == inheritableDictionary) { throw new ArgumentNullException(nameof(inheritableDictionary)); } _clearedKeys = new List <string>(); Filter = string.IsNullOrEmpty(filter) ? "" : filter; if (null != (inheritableDictionary as ChordiousSettings)) { LocalBuffer = new ChordiousSettings(inheritableDictionary as ChordiousSettings, "Changed"); } else if (null != (inheritableDictionary as DiagramStyle)) { LocalBuffer = new DiagramStyle(inheritableDictionary as DiagramStyle, "Changed"); } }
public ShowAdvancedDataMessage(InheritableDictionary inheritableDictionary, string filter, Action <bool> callback) : base() { AdvancedDataVM = new AdvancedDataViewModel(inheritableDictionary, filter); Callback = callback; }