public SettingsViewModel( IGitHubOAuthAuthorizer authorizer, IGitHubClient client, ISettingsService settingsService, ApplicationSettings settings) { this.authorizer = authorizer; this.client = client; this.settingsService = settingsService; this.settings = settings; User = new User { Name = settings.UserName, }; }
public SettingsViewModel(IGitHubOAuthAuthorizer authorizer, IGitHubClient client) { this.authorizer = authorizer; this.client = client; }