public PowerBiController( ILogger <PowerBiController> logger, IOptions <AppOptions> appOptions, IPowerBIService pbiService) : base(logger, appOptions) { Guard.Against.Null(pbiService, nameof(pbiService)); _pbiService = pbiService; }
public HomeController(ILogger <HomeController> logger, IPowerBIService pbiService, IDeviceService deviceService) { _logger = logger; _pbiService = pbiService; _deviceService = deviceService; }
public static IPowerBIService GetPowerBIService() { if (_powerBIService == null) { _powerBIService = new PowerBIService(GetSettingService(), GetLoggerService()); } return(_powerBIService); }
/// <summary> /// Initializes a new instance of the <see cref="PowerBIFunction"/> class. /// </summary> /// <param name="powerService">The powerService<see cref="IPowerBIService"/>.</param> public PowerBIFunction(IPowerBIService powerService) { _powerBIService = powerService; }
public ReportController(IPowerBIService powerBIService) { this.powerBIService = powerBIService; }
public ReportMasterService(IReportMasterRepository reportMasterRepository, IPowerBIService powerBIService, IMapper mapper) { _reportMasterRepository = reportMasterRepository; _powerBIService = powerBIService; _mapper = mapper; }
public NavigationViewComponent(IPowerBIService powerBIService) { this.powerBIService = powerBIService; }