Esempio n. 1
0
 public IEnumerable <string> GetAvailableScopes()
 {
     string[] fixedScopes = new string[] { Strings.DebugReplCurrentFrameScope };
     if (_activeEvaluator != null)
     {
         return(fixedScopes.Concat(_activeEvaluator.GetAvailableScopes()));
     }
     else
     {
         return(new string[0]);
     }
 }
Esempio n. 2
0
 public IEnumerable <string> GetAvailableScopes()
 {
     // TODO: Localization: we may need to do something with <CurrentFrame> string. Is it displayed?
     // It also appears visualstudio_py_repl.py so it probably needs to be in sync with it.
     string[] fixedScopes = new string[] { "<CurrentFrame>" };
     if (_activeEvaluator != null)
     {
         return(fixedScopes.Concat(_activeEvaluator.GetAvailableScopes()));
     }
     else
     {
         return(new string[0]);
     }
 }