public AutoCatYear( string name, string prefix = null, bool includeUnknown = true, string unknownText = null, AutoCatYear_Grouping groupMode = AutoCatYear_Grouping.None ) : base( name ) { this.Prefix = prefix; this.IncludeUnknown = includeUnknown; this.UnknownText = unknownText; this.GroupingMode = groupMode; }
public AutoCatYear(string name, string filter = null, string prefix = null, bool includeUnknown = true, string unknownText = null, AutoCatYear_Grouping groupMode = AutoCatYear_Grouping.None, bool selected = false) : base(name) { Filter = filter; Prefix = prefix; IncludeUnknown = includeUnknown; UnknownText = unknownText; GroupingMode = groupMode; Selected = selected; }
public AutoCatYear( string name, string filter = null, string prefix = null, bool includeUnknown = true, string unknownText = null, AutoCatYear_Grouping groupMode = AutoCatYear_Grouping.None, bool selected = false) : base( name ) { this.Filter = filter; this.Prefix = prefix; this.IncludeUnknown = includeUnknown; this.UnknownText = unknownText; this.GroupingMode = groupMode; this.Selected = selected; }
public static AutoCatYear LoadFromXmlElement(XmlElement xElement) { string name = XmlUtil.GetStringFromNode(xElement[XmlName_Name], TypeIdString); string prefix = XmlUtil.GetStringFromNode(xElement[XmlName_Prefix], null); bool includeUnknown = XmlUtil.GetBoolFromNode(xElement[XmlName_IncludeUnknown], true); string unknownText = XmlUtil.GetStringFromNode(xElement[XmlName_UnknownText], null); AutoCatYear_Grouping groupMode = XmlUtil.GetEnumFromNode <AutoCatYear_Grouping>(xElement[XmlName_GroupingMode], AutoCatYear_Grouping.None); return(new AutoCatYear(name, prefix, includeUnknown, unknownText, groupMode)); }
public AutoCatYear(string name, string prefix = null, bool includeUnknown = true, string unknownText = null, AutoCatYear_Grouping groupMode = AutoCatYear_Grouping.None) : base(name) { this.Prefix = prefix; this.IncludeUnknown = includeUnknown; this.UnknownText = unknownText; this.GroupingMode = groupMode; }