public XmlProperty(XmlType parentType, PropertyInfo propertyInfo) { Info = propertyInfo; PropertyType = propertyInfo.PropertyType; ParentType = parentType; Init(); }
public XmlTypeUserControl(XmlType type) { _xmlType = type; InitializeComponent(); XmlTypeNameLabel.Content = $"Type: {_xmlType.XType.Name}"; XmlTypeDescriptionLabel.Content = $"Description: {_xmlType.Description}"; foreach (var xmlProperty in _xmlType.XmlProperties) { XmlPropertiesListBox.Items.Add(new ListBoxItem { Content = xmlProperty }); } }
public void AddLocation(XmlType xmlType) { AddLocation(xmlType.Location.ElementAllowedNames); }