protected CustomListView(CustomListViewType customListViewType, List<DatabaseClass> scripts, List<string> exProps = null) { switch (customListViewType) { case CustomListViewType.CustomListViewCondition: _pinfo = typeof(Condition).GetProperties(); break; case CustomListViewType.CustomListViewSmartScript: _pinfo = typeof(SmartScript).GetProperties(); break; } _scripts = scripts; _excludedProperties = exProps ?? new List<string>(); _customListViewType = customListViewType; Init(); }
protected CustomListView(CustomListViewType customListViewType, List <DatabaseClass> scripts, List <string> exProps = null) { switch (customListViewType) { case CustomListViewType.CustomListViewCondition: _pinfo = typeof(Condition).GetProperties(); break; case CustomListViewType.CustomListViewSmartScript: _pinfo = typeof(SmartScript).GetProperties(); break; } _scripts = scripts; _excludedProperties = exProps ?? new List <string>(); _customListViewType = customListViewType; Init(); }