public override bool IsContextApplicable(IDataContext dataContext)
        {
            if (!ContextNavigationUtil.CheckDefaultApplicability <TLanguage>(dataContext))
            {
                return(false);
            }
            var declaredElements = dataContext.GetData(PsiDataConstants.DECLARED_ELEMENTS);

            return(declaredElements != null && declaredElements.All(x => x is IAsmDefDeclaredElement));
        }
示例#2
0
 public bool IsApplicable(IDataContext dataContext)
 {
     return(ContextNavigationUtil.CheckDefaultApplicability <CSharpLanguage>(dataContext));
 }