Exemple #1
0
 /// <summary>
 /// Removes a set of declarations from the valuestore
 /// </summary>
 /// <param name="declarations"></param>
 private static void RemoveDeclarationsFromValueStore(ISession session, IList<Declaration> declarations)
 {
     //remove our declarations again, as obviously the user supplied bad code                    
     foreach (Declaration decl in declarations)
     {
         session.RemoveVariable(decl.Name);
     }
 }