/// <summary> /// Initializes a new instance of the PropertyParser class. /// </summary> /// <param name="selectedObject"></param> public PropertyParser(object[] selectedObjects, Attribute[] attributeFilter, PropertyNodeFactory nodeFactory, List<string> ignoredProperties, List<string> ignoredCategories, IPropertyGridLocalizer localizer, PropertySettingsCollection propertySettings) { _SelectedObjects = selectedObjects; _AttributeFilter = attributeFilter; _PropertyNodeFactory = nodeFactory; _IgnoredProperties = ignoredProperties; _IgnoredCategories = ignoredCategories; _Localizer = localizer; _PropertySettings = propertySettings; }
/// <summary> /// Initializes a new instance of the PropertyParser class. /// </summary> /// <param name="selectedObject"></param> public PropertyParser( ITypeDescriptorContext context, object selectedObject, Attribute[] attributeFilter, PropertyNodeFactory nodeFactory, List<string> ignoredProperties, List<string> ignoredCategories, IPropertyGridLocalizer localizer, PropertySettingsCollection propertySettings) { _TypeDescriptorContext = context; _SelectedObject = selectedObject; _AttributeFilter = attributeFilter; _PropertyNodeFactory = nodeFactory; _IgnoredProperties = ignoredProperties; _IgnoredCategories = ignoredCategories; _Localizer = localizer; _PropertySettings = propertySettings; }