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)); }
public bool IsApplicable(IDataContext dataContext) { return(ContextNavigationUtil.CheckDefaultApplicability <CSharpLanguage>(dataContext)); }