public TeamsVersioningDecorator( [DisallowNull] ITeamsStore inner, [DisallowNull] ICacheControlStore cacheControlStore, [DisallowNull] ICacheControlKeyProvider cacheControlKeyProvider) { this.inner = inner ?? throw new ArgumentNullException(nameof(inner)); this.cacheControlStore = cacheControlStore ?? throw new ArgumentNullException(nameof(cacheControlStore)); this.cacheControlKeyProvider = cacheControlKeyProvider ?? throw new ArgumentNullException(nameof(cacheControlKeyProvider)); }
public TeamsController([DisallowNull] ITeamsStore teamsStore) { this.teamsStore = teamsStore ?? throw new ArgumentNullException(nameof(teamsStore)); }