示例#1
0
        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");
            }
        }
示例#2
0
 public ShowAdvancedDataMessage(InheritableDictionary inheritableDictionary, string filter, Action <bool> callback) : base()
 {
     AdvancedDataVM = new AdvancedDataViewModel(inheritableDictionary, filter);
     Callback       = callback;
 }