Exemple #1
0
 public NamingConvention(LayerConfig owner, XmlNode node)
     : this(owner)
 {
     this.style             = ParseStyle(Utils.Xml.GetAttrValue(node, "style"));
     this.maxLength         = Utils.Xml.GetAttrValue(node, "maxLength", this.maxLength);
     namingConventionParams = new NamingConventionParams(this, owner.GenieLampConfig.Lamp.QueryNode(node, "./{0}:Param"));
 }
Exemple #2
0
 public NamingConvention(LayerConfig owner)
     : this(NamingStyle.None)
 {
     this.owner             = owner;
     this.macro             = new MacroExpander(owner.Macro);
     namingConventionParams = new NamingConventionParams(this);
 }