Ejemplo n.º 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;
 }
Ejemplo n.º 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;
			}
Ejemplo n.º 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);
		}