예제 #1
0
파일: Agent.cs 프로젝트: ashr/posh-sharp
        /// <summary>
        /// Loads the plan and creates the drive collection tree.
        ///
        /// The method parses the plan file, and then uses the plan builder to
        /// build the drive collection tree.
        /// </summary>
        /// <param name="planFile">Filename of the plan file that is loaded.</param>
        /// <returns></returns>
        internal override void LoadPlan(string planName)
        {
            // if setTimer() is not called, then the first use of
            // the timer will fail. setTimer() is called when the drive
            // collection is built.
            timer = null;
            // read plan, parse it and build drive collection
            PlanBuilder builder = new LAPParser().Parse(AssemblyControl.GetControl().GetPlanFile(library, planName));

            dc = builder.build(this);
        }
예제 #2
0
파일: Launcher.cs 프로젝트: ashr/posh-sharp
 public Launcher()
 {
     control = AssemblyControl.GetControl();
 }