public ContextService( ILogger <ContextService> logger, IOptions <AppOptions> appOptions, GraphSharePointAppService graphSharePointAppService) : base(logger, appOptions) { Guard.Against.Null(graphSharePointAppService, nameof(graphSharePointAppService)); _graphSharePointAppService = graphSharePointAppService; }
public IndustryRepository( ILogger <IndustryRepository> logger, IOptions <AppOptions> appOptions, GraphSharePointAppService graphSharePointAppService) : base(logger, appOptions) { Guard.Against.Null(graphSharePointAppService, nameof(graphSharePointAppService)); _graphSharePointAppService = graphSharePointAppService; }
public SharePointListDataProvider(GraphSharePointAppService graphSharePointAppService, IHttpContextAccessor httpContextAccessor, IOptionsMonitor <AppOptions> appOptions, ILogger <SharePointListDataProvider> logger) { this.httpContextAccessor = httpContextAccessor; this.graphSharePointAppService = graphSharePointAppService; this.logger = logger; siteList = new SiteList { SiteId = appOptions.CurrentValue.ProposalManagementRootSiteId, ListId = "Audit" }; }
public NotificationRepository( ILogger <NotificationRepository> logger, IOptions <AppOptions> appOptions, GraphSharePointAppService graphSharePointAppService, GraphUserAppService graphUserAppService, IUserContext userContext) : base(logger, appOptions) { Guard.Against.Null(graphSharePointAppService, nameof(graphSharePointAppService)); Guard.Against.Null(graphUserAppService, nameof(graphUserAppService)); Guard.Against.Null(userContext, nameof(userContext)); _graphSharePointAppService = graphSharePointAppService; _graphUserAppService = graphUserAppService; _userContext = userContext; }