public PropertyGrouping(XmlNode node) : base(node) { this.property = (PropertyNames)Enum.Parse(typeof(PropertyNames), Helpers.GetXmlAttribute(node, "property")); this.propertyAccessor = PropertyAccessors.Get(property); this.i18n = PropertyAccessors.PropertyNames_i18n[property]; this.i18ns = Invert((Dictionary <String, T>)PropertyAccessors.Geti18nFor(property)); this.images = (ImageDelegate <T>)PropertyAccessors.GetImagesFor(property); }
public PropertyGrouping(PropertyNames property, Grouping subgrouping) : base(subgrouping) { this.property = property; this.propertyAccessor = PropertyAccessors.Get(property); this.i18n = PropertyAccessors.PropertyNames_i18n[property]; this.i18ns = Invert((Dictionary <String, T>)PropertyAccessors.Geti18nFor(property)); this.images = (ImageDelegate <T>)PropertyAccessors.GetImagesFor(property); }