Beispiel #1
0
        public PathWithFilters(string path, DirectoryDepth depth, InitialSelection initialSelection, SortBindList <StringMatchPathFilterM> stringMatchFilters, SortBindList <RegexPathFilterM> regexFilters)
        {
            Path               = path;
            Depth              = depth;
            InitialSelection   = initialSelection;
            StringMatchFilters = stringMatchFilters ?? new SortBindList <StringMatchPathFilterM>(); //Per far trovare al dataGrid la lista altrimenti non si possono aggiugere righe nella view
            RegexFilters       = regexFilters ?? new SortBindList <RegexPathFilterM>();             //Per far trovare al dataGrid la lista altrimenti non si possono aggiugere righe nella view

            this.stringMatchFilters.ItemNumberChanged      += StringMatchFiltersChanged;
            this.stringMatchFilters.ObjectTPropertyChanged += StringMatchFiltersChanged;
            this.regexFilters.ItemNumberChanged            += RegexFiltersChanged;
            this.regexFilters.ObjectTPropertyChanged       += RegexFiltersChanged;
        }
 public StringMatchPathFilterVM(SortBindList <StringMatchPathFilterM> stringMatchPathFiltersM)
 {
     StringMatchPathFilterM = stringMatchPathFiltersM;
 }
 public RegexPathFilterVM(SortBindList <RegexPathFilterM> regexPathFilterM)
 {
     RegexPathFilterM = regexPathFilterM;
 }