public RepositoryController( IRepositoryService repositoryService, HttpContextInfoProvider httpContextInfoProvider, ISourceService sourceService, IProfileService profileService) { this.repositoryService = repositoryService ?? throw new ArgumentNullException(nameof(repositoryService)); this.httpContextInfoProvider = httpContextInfoProvider ?? throw new ArgumentNullException(nameof(httpContextInfoProvider)); this.sourceService = sourceService ?? throw new ArgumentNullException(nameof(sourceService)); this.profileService = profileService ?? throw new ArgumentNullException(nameof(profileService)); }
public AccountController( IUserService userService, IProfileService profileService, ISourceService sourceService, HttpContextInfoProvider httpContextInfoProvider) { this.userService = userService ?? throw new ArgumentNullException(nameof(userService)); this.profileService = profileService ?? throw new ArgumentNullException(nameof(profileService)); this.sourceService = sourceService ?? throw new ArgumentNullException(nameof(sourceService)); this.httpContextInfoProvider = httpContextInfoProvider ?? throw new ArgumentNullException(nameof(httpContextInfoProvider)); }
public GitHubAuthController(ISourceService sourceService, HttpContextInfoProvider httpContextInfoProvider) { this.sourceService = sourceService ?? throw new ArgumentNullException(nameof(sourceService)); this.httpContextInfoProvider = httpContextInfoProvider ?? throw new ArgumentNullException(nameof(httpContextInfoProvider)); }