public bool IsVisible(string index, bool showClr) { if (showClr || _obj is NamespaceTracker) { return(true); } if (_nonClrAttributes == null) { _nonClrAttributes = IronPythonInterpreter.DirHelper(_obj, false);; } return(_nonClrAttributes.IndexOf(index) != -1); }
public IEnumerable <string> GetMemberNames(IModuleContext moduleContext) { return(IronPythonInterpreter.DirHelper(_obj, ((IronPythonModuleContext)moduleContext).ShowClr)); }