protected override void OnExecute(object parameter) { if (_state.Status != ParserState.Ready || !(parameter is CodeExplorerItemViewModel node) || node.Declaration == null) { return; } _finder.FindAllImplementations(node.Declaration); }
protected override void OnExecute(object parameter) { if (_state.Status != ParserState.Ready) { return; } var declaration = FindTarget(parameter); if (declaration == null) { return; } _finder.FindAllImplementations(declaration); }