コード例 #1
0
 public ShopManagerApiControllerBase(IOptions <MemberAPIOptions> options
                                     , ShopDbContext db, MemberDbContext memberDb)
 {
     _options      = _options = options.Value;
     this.db       = db;
     this.memberDb = memberDb;
 }
コード例 #2
0
 public CommunityApiControllerBase(ICommunityService communityService
                                   , IOptions <MemberAPIOptions> options
                                   , MemberDbContext memberDb)
 {
     _communityService = communityService;
     _options          = _options = options.Value;
     this.memberDb     = memberDb;
 }
コード例 #3
0
 public WechatApiControllerBase(IOptions <MemberAPIOptions> options
                                , MemberDbContext memberDb
                                , WechatCoreDbContext wechatCoreDb
                                )
 {
     _options          = options.Value;
     this.memberDb     = memberDb;
     this.wechatCoreDb = wechatCoreDb;
 }