예제 #1
0
        /// <summary>
        ///    Processes the record.
        /// </summary>
        protected override void ProcessRecord()
        {
            //
            Globals.Debug |= !string.IsNullOrEmpty(Dump);

            var path = SessionState.Path.CurrentLocation.Path;

            path = System.IO.Path.Combine(path, Path);

            var spots = PlanClient.LoadPlan(path);

            foreach (var spot in spots)
            {
                WriteObject(spot);
            }
        }
예제 #2
0
파일: DumpPlan.cs 프로젝트: x2v0/TM
 public List <Spot> Load(string file)
 {
     return(PlanClient.LoadPlan(file));
 }