Exemple #1
0
 internal MacroEntry(VelocimacroManager enclosingInstance, VelocimacroManager velocimacroManager, String vmName,
                     String macroBody,
                     String[] argArray, String sourceTemplate)
 {
     InitBlock(enclosingInstance);
     macroName           = vmName;
     argumentArray       = argArray;
     this.macroBody      = macroBody;
     this.sourceTemplate = sourceTemplate;
     manager             = velocimacroManager;
 }
Exemple #2
0
        /// <summary>  CTOR : requires a runtime services from now
        /// on
        /// </summary>
        public VelocimacroFactory(IRuntimeServices rs)
        {
            runtimeServices = rs;

            /*
             *  we always access in a synchronized(), so we
             *  can use an unsynchronized hashmap
             */
            libModMap          = new Hashtable();
            velocimacroManager = new VelocimacroManager(runtimeServices);
        }
			internal MacroEntry(VelocimacroManager enclosingInstance, VelocimacroManager velocimacroManager, String vmName,
			                    String macroBody,
			                    String[] argArray, String sourceTemplate)
			{
				InitBlock(enclosingInstance);
				macroName = vmName;
				argumentArray = argArray;
				this.macroBody = macroBody;
				this.sourceTemplate = sourceTemplate;
				manager = velocimacroManager;
			}
			private void InitBlock(VelocimacroManager enclosingInstance)
			{
				this.enclosingInstance = enclosingInstance;
			}
Exemple #5
0
 private void InitBlock(VelocimacroManager enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }
		/// <summary>  CTOR : requires a runtime services from now
		/// on
		/// </summary>
		public VelocimacroFactory(IRuntimeServices rs)
		{
			runtimeServices = rs;

			/*
		*  we always access in a synchronized(), so we 
		*  can use an unsynchronized hashmap
		*/
			libModMap = new Hashtable();
			velocimacroManager = new VelocimacroManager(runtimeServices);
		}