Ejemplo n.º 1
0
 public PowerBiController(
     ILogger <PowerBiController> logger,
     IOptions <AppOptions> appOptions,
     IPowerBIService pbiService) : base(logger, appOptions)
 {
     Guard.Against.Null(pbiService, nameof(pbiService));
     _pbiService = pbiService;
 }
Ejemplo n.º 2
0
 public HomeController(ILogger <HomeController> logger,
                       IPowerBIService pbiService,
                       IDeviceService deviceService)
 {
     _logger        = logger;
     _pbiService    = pbiService;
     _deviceService = deviceService;
 }
Ejemplo n.º 3
0
        public static IPowerBIService GetPowerBIService()
        {
            if (_powerBIService == null)
            {
                _powerBIService = new PowerBIService(GetSettingService(), GetLoggerService());
            }

            return(_powerBIService);
        }
Ejemplo n.º 4
0
 /// <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;
 }
Ejemplo n.º 5
0
 public ReportController(IPowerBIService powerBIService)
 {
     this.powerBIService = powerBIService;
 }
Ejemplo n.º 6
0
 public ReportMasterService(IReportMasterRepository reportMasterRepository, IPowerBIService powerBIService, IMapper mapper)
 {
     _reportMasterRepository = reportMasterRepository;
     _powerBIService         = powerBIService;
     _mapper = mapper;
 }
 public NavigationViewComponent(IPowerBIService powerBIService)
 {
     this.powerBIService = powerBIService;
 }