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));
 }
Esempio n. 2
0
 public TeamsController([DisallowNull] ITeamsStore teamsStore)
 {
     this.teamsStore = teamsStore ?? throw new ArgumentNullException(nameof(teamsStore));
 }