Ejemplo n.º 1
0
        /// <summary>
        /// Parse the model attributes (author, name, version, etc.)
        /// </summary>
        /// <param name="element">Element.</param>
        public void BuildModelAttributes(ParsedModelAttribute element)
        {
            if (model.Parameters.ContainsKey(element.Name))
            {
                throw new BuilderException(string.Format("'{0}' is already defined.", element.Name),
                                           element.Filename, element.Line, element.Col);
            }

            model.Parameters.Add(element.Name, element.Value);
        }
Ejemplo n.º 2
0
 public void BuildElement(ParsedModelAttribute element)
 {
 }