public static IEnumerable <ShowBurstCallsBulbAction> GetBurstCallsActions(IMethodDeclaration methodDeclaration) { var incoming = new ShowBurstCallsBulbAction(methodDeclaration, ShowCallsType.INCOMING); // var outgoing = new ShowBurstCallsBulbAction(methodDeclaration, ShowCallsType.OUTGOING); return(new[] { incoming // , outgoing }); }
protected override IEnumerable <BulbMenuItem> GetActions(IMethodDeclaration methodDeclaration, ITextControl textControl) { var actions = ShowBurstCallsBulbAction.GetBurstCallsActions(methodDeclaration); return(actions.ToMenuItems(textControl, Solution)); }