예제 #1
0
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 /// <summary>   Constructs an Sqm from a ConfigFile </summary>
 /// <remarks>
 ///     Note that the configfile passed to the constructor will be modified
 ///     as a result of the ItemisedClasses substitution that takes place when
 ///     recasting this as an sqm.
 /// </remarks>
 /// <param name="config">    The configFile to use as a basis for this sqm </param>
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 public Sqm(ConfigFile config)
 {
     //copy all the items across
     ItemisedClass.Substitute(config);
     foreach (ConfigProperty e in config)
     {
         base.Add(e);
     }
 }
예제 #2
0
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 /// <summary>   Visit itemised class. </summary>
 /// <param name="node"> The node. </param>
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 public virtual void VisitItemisedClass(ItemisedClass node)
 {
     VisitConfigClass(node);
 }
예제 #3
0
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 /// <summary>   Visit itemised class. </summary>
 /// <param name="node"> The node. </param>
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 public virtual void VisitItemisedClass(ItemisedClass node) {
     VisitConfigClass(node);
 }