Example #1
0
 public UserController(IConfiguration _configuration, VoteAppDbContext _dbContext, DbOperationMngr _dbOptMng, ILogger <UserController> logger)
 {
     Configuration = _configuration;
     dbContext     = _dbContext;
     dbOptMng      = _dbOptMng;
     _logger       = logger;
 }
 public WxqFuncController(OryxWebSocketPool _wsPool,
                          VoteAppDbContext _dbContext,
                          RabbitMQClient _rabbitMqClient
                          )
 {
     wsPool         = _wsPool;
     dbContext      = _dbContext;
     rabbitMqClient = _rabbitMqClient;
 }
Example #3
0
 public VoteController(VoteAppDbContext dbContext)
 //TransientVoteAppDbContext transientDbContext,
 //OryxWebSocketPool _wsPool,
 //GlobalVoteResultDic _globalVoteResultDic,
 //DbOperationMngr _dbOptMng2222)
 {
     //_transientDbContext = transientDbContext;
     //dbOptMng22 = _dbOptMng2222;
     this.dbContext = dbContext;
     //this.wsPool = _wsPool;
     //globalVoteResultDic = _globalVoteResultDic;
 }
Example #4
0
 public GameController(QiniuTool _qiniutool,
                       VoteAppDbContext _dbContext,
                       IMemoryCache _memoryCache,
                       OryxWebSocketPool _wsPool,
                       IDistributedCache _distributedCache,
                       RabbitMQClient _rabbitMqClient
                       )
 {
     qiniutool        = _qiniutool;
     dbContext        = _dbContext;
     memoryCache      = _memoryCache;
     wsPool           = _wsPool;
     distributedCache = _distributedCache;
     rabbitMqClient   = _rabbitMqClient;
 }
Example #5
0
 public JdlyController(
     IMemoryCache _memoryCache,
     IDistributedCache _distributedCache,
     VoteAppDbContext _dbContext,
     DbOperationMngr _dbOptMng,
     ILogger <VoteController> logger,
     SingletonAppDbContext _singletonDbContext
     )
 {
     _IDistributedCache = _distributedCache;
     dbOptMng           = _dbOptMng;
     dbContext          = _dbContext;
     memoryCache        = _memoryCache;
     _logger            = logger;
     singletonDbContext = _singletonDbContext;
 }
Example #6
0
 //private IMemoryCache _cache;
 public VoteController(
     VoteAppDbContext _dbContext,
     OryxWebSocketPool _wsPool,
     GlobalVoteResultDic _globalVoteResultDic,
     DbOperationMngr _dbOptMng,
     IDistributedCache memoryCache,
     ILogger <VoteController> logger,
     SingletonAppDbContext _singletonDbContext,
     RabbitMQClient _rabbitMqClient
     )
 {
     dbOptMng            = _dbOptMng;
     dbContext           = _dbContext;
     wsPool              = _wsPool;
     globalVoteResultDic = _globalVoteResultDic;
     _cache              = memoryCache;
     _logger             = logger;
     singletonDbContext  = _singletonDbContext;
     rabbitMqClient      = _rabbitMqClient;
 }
Example #7
0
 public IndexModel(VoteAppDbContext dbContext, WxaCode _wxaCodeFactory)
 {
     this.dbContext      = dbContext;
     this.wxaCodeFactory = _wxaCodeFactory;
 }
Example #8
0
 public WxqCheckModel(VoteAppDbContext _dbContext)
 {
     dbContext = _dbContext;
 }
Example #9
0
 public IndexModel(VoteAppDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
Example #10
0
 public AccountController(VoteAppDbContext _dbContext, ILogger <AccountController> logger)
 {
     dbContext = _dbContext;
     _logger   = logger;
     _logger.LogDebug("test");
 }
Example #11
0
 public HugeScreenModel(VoteAppDbContext _dbContext)
 {
     dbContext = _dbContext;
 }
Example #12
0
 public VoteDetailModel(VoteAppDbContext _dbContext)
 {
     dbContext = _dbContext;
 }
Example #13
0
 public VoteEditModel(VoteAppDbContext _dbContext)
 {
     dbContext = _dbContext;
 }
Example #14
0
 public WxqPicModel(VoteAppDbContext _dbContext)
 {
     dbContext = _dbContext;
 }
Example #15
0
 public BossVoteModel(VoteAppDbContext _dbContext)
 {
     dbContext = _dbContext;
 }
Example #16
0
 public GameController(/*QiniuTool _qiniutool, */ VoteAppDbContext _dbContext)
 {
     //qiniutool = _qiniutool;
     dbContext = _dbContext;
 }
Example #17
0
 public HomeController(VoteAppDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
Example #18
0
 public ResultModel(VoteAppDbContext _dbContext)
 {
     dbContext = _dbContext;
 }