public MainProgram(IServiceProxy serviceproxy, IEmotionService emotionService, IMLService mlService)
 {
     _emotionService = emotionService;
     _mlService      = mlService;
     _endpointUri    = ConfigurationManager.AppSettings["endpointUri"].ToString();
     _primaryKey     = ConfigurationManager.AppSettings["primaryKey"].ToString();
 }
 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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #6
0
 public PredictionController(IChartService chartService, IMLService mLService, IItemService itemService)
 {
     this.chartService = chartService;
     this.mLService    = mLService;
     this.itemService  = itemService;
 }
Exemple #7
0
 public MLController(PredictionEnginePool <ModelInput, ModelOutput> predictionEngine, IMLService mLService)
 {
     this.predictionEngine = predictionEngine;
     this.mLService        = mLService;
 }
Exemple #8
0
 public MLController(IServiceProvider serviceProvider, ILogger <MLController> logger)
 {
     _MLService       = serviceProvider.GetService <IMLService>();
     _googleORService = serviceProvider.GetService <IGoogleORService>();
     _weatherService  = serviceProvider.GetService <IWeatherService>();
 }
Exemple #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;
 }