public void Run(FilterScheme filterScheme, InstanceProperties instanceProperties, Action successCallback) { _originalFilterScheme = filterScheme; FilterScheme copiedFilterScheme = _originalFilterScheme.Copy(); FilterScheme = copiedFilterScheme; InstanceProperties = instanceProperties; _successCallback = successCallback; }
public void InitProperties() { IEnumerator enumerator = View.RawCollection.GetEnumerator(); if (enumerator.MoveNext()) { _instanceProperties = new InstanceProperties(); _instanceProperties.Init(enumerator.Current); FilterSchemes.Clear(); FilterSchemes.AddRange(new FilterSchemeManager().Load(_instanceProperties)); SelectedFilterScheme = FilterSchemes.FirstOrDefault(); } }