Exemplo n.º 1
0
 public MainProgram(IServiceProxy serviceproxy, IEmotionService emotionService, IMLService mlService)
 {
     _emotionService = emotionService;
     _mlService      = mlService;
     _endpointUri    = ConfigurationManager.AppSettings["endpointUri"].ToString();
     _primaryKey     = ConfigurationManager.AppSettings["primaryKey"].ToString();
 }
Exemplo n.º 2
0
 public EventPlanningController(IMLService mLService, IServiceService serviceService, IEventService eventService, IServicePackageService servicePackageService, IBlobService blobService)
 {
     this.mLService             = mLService;
     this.serviceService        = serviceService;
     this.eventService          = eventService;
     this.servicePackageService = servicePackageService;
     this.blobService           = blobService;
 }
Exemplo n.º 3
0
 public AccountController(IUserService userService, IBlobService blobService, IContainerNameService containerNameService, IEventGenerator eventGenerator, IMLService mLService)
 {
     this.userService          = userService;
     this.blobService          = blobService;
     this.eventGenerator       = eventGenerator;
     this.containerNameService = containerNameService;
     this.mLService            = mLService;
 }
Exemplo n.º 4
0
 public TestController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IMapper mapper, IAPNSService apns, IRepository repository, IMLService mLService)
 {
     _context     = context;
     _userManager = userManager;
     _mapper      = mapper;
     _apns        = apns;
     _repository  = repository;
     _mLService   = mLService;
 }
 public PurchaseOrderController(IInventoryService inventoryService, IItemSupplierService itemSupplierService, IItemService itemService, IPurchaseOrderService purchaseOrderService, IItemPurchaseOrderService itemPurchaseOrderService, ISupplierService supplierService, IMLService mlService)
 {
     this.purchaseOrderService     = purchaseOrderService;
     this.itemPurchaseOrderService = itemPurchaseOrderService;
     this.supplierService          = supplierService;
     this.itemService         = itemService;
     this.itemSupplierService = itemSupplierService;
     this.inventoryService    = inventoryService;
     this.mlService           = mlService;
 }
Exemplo n.º 6
0
 public PredictionController(IChartService chartService, IMLService mLService, IItemService itemService)
 {
     this.chartService = chartService;
     this.mLService    = mLService;
     this.itemService  = itemService;
 }
Exemplo n.º 7
0
 public MLController(PredictionEnginePool <ModelInput, ModelOutput> predictionEngine, IMLService mLService)
 {
     this.predictionEngine = predictionEngine;
     this.mLService        = mLService;
 }
Exemplo n.º 8
0
 public MLController(IServiceProvider serviceProvider, ILogger <MLController> logger)
 {
     _MLService       = serviceProvider.GetService <IMLService>();
     _googleORService = serviceProvider.GetService <IGoogleORService>();
     _weatherService  = serviceProvider.GetService <IWeatherService>();
 }
Exemplo n.º 9
0
 public MLServiceTests()
 {
     this.service = new MLService();
     AutoMapperConfig.RegisterMappings(Assembly.Load("CarsVision.Web.ViewModels"));
 }
 public MLAndStatisticsController(IMLService mlService, IMapper mapper)
 {
     this.mlService = mlService;
     this.mapper    = mapper;
 }