コード例 #1
0
        protected override void PopulateSettings(SettingsContainer settings)
        {
            settings.GithubAuthSettings = new GithubAuthSettings(
                SettingsParser.EnsureTrailingSlash(GithubApiEndpoint),
                GitHubToken);

            settings.UserSettings.MaxRepositoriesChanged       = AllowedMaxRepositoriesChangedChange;
            settings.UserSettings.MaxPullRequestsPerRepository = MaxPullRequestsPerRepository;
            settings.UserSettings.ForkMode   = ForkMode;
            settings.UserSettings.ReportMode = ReportMode;
            settings.ModalSettings.Labels    = Label;
        }