public BitbucketHoster( IConfigSourceValidator <BitbucketHoster> validator, IHosterApi <BitbucketHoster> api, IBackupMaker <BitbucketHoster> backupMaker) { if (validator == null) { throw new ArgumentNullException("validator"); } if (api == null) { throw new ArgumentNullException("api"); } if (backupMaker == null) { throw new ArgumentNullException("backupMaker"); } this.Validator = validator; this.Api = api; this.BackupMaker = backupMaker; }
public GithubHoster(IConfigSourceValidator validator, IHosterApi api, IBackup backup) { this.Validator = validator; this.Api = api; this.Backup = backup; }