예제 #1
0
 public ProductsController(ApplicationDbContext context, IHostingEnvironment hostingEnvironment, MLApriori mlapriori)
 {
     _context            = context;
     _hostingEnvironment = hostingEnvironment;
     m_markedTags        = new HashSet <int>();
     _mlApriori          = mlapriori;
 }
예제 #2
0
 public HomeController(IdentityContext db, KeeParkContext kpb, IHostingEnvironment hostingEnvironment)
 {
     _IdentityContext    = db;
     _KeeParkContext     = kpb;
     _hostingEnvironment = hostingEnvironment;
     // init the MLApriori
     _mlApriori = new MLApriori(_IdentityContext, _KeeParkContext);
 }
예제 #3
0
 public AprioriController(ApplicationDbContext context, MLApriori mlApriori)
 {
     _context   = context;
     _mlApriori = mlApriori;
 }
예제 #4
0
 public ClientOrdersController(ApplicationDbContext context, MLApriori mlApriori)
 {
     _context   = context;
     _mlApriori = mlApriori;
 }