Esempio n. 1
0
        protected override void ProcessRecord( )
        {
            List <string> nodeIds = new List <string>( );

            Utilities.GetOneNoteIdsForPsPath(this, _path, nodeIds);
            ApplicationClass app = new ApplicationClass( );

            foreach (string id in nodeIds)
            {
                if (ShouldProcess(id))
                {
                    app.CloseNotebook(id);
                }
            }
        }
 protected override void ProcessRecord( )
 {
     List<string> nodeIds = new List<string>( );
     Utilities.GetOneNoteIdsForPsPath(this, _path, nodeIds);
     ApplicationClass app = new ApplicationClass( );
     foreach (string id in nodeIds)
     {
         if (ShouldProcess(id))
         {
             app.CloseNotebook(id);
         }
     }
 }