Пример #1
0
        OleMenuCommand BindNavigatorCommand <P, R>(IMenuCommandService menu, int commandId, ReactiveCommand <P, R> command)
        {
            Guard.ArgumentNotNull(menu, nameof(menu));
            Guard.ArgumentNotNull(command, nameof(command));

            return(menu.BindCommand(new CommandID(Guids.guidGitHubToolbarCmdSet, commandId), command));
        }