示例#1
0
 public UserSvc(
     LiveShowDBContext liveShowDB,
     IEncryptUtil encryptUtil
     ) : base(liveShowDB)
 {
     _encryptUtil = encryptUtil;
 }
示例#2
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="testDB"></param>
 /// <param name="encryptUtil"></param>
 /// <param name="dbContextExtendSvc"></param>
 public UserSvc(
     TestDBContext testDB,
     IEncryptUtil encryptUtil,
     IDbContextExtendSvc dbContextExtendSvc
     ) : base(testDB)
 {
     _encryptUtil        = encryptUtil;
     _dbContextExtendSvc = dbContextExtendSvc;
 }
 public EncryptUtilUnitTest() : base()
 {
     _serviceCollection.AddEncryptUtil();
     BuilderServiceProvider();
     _encryptUtil = _serviceProvider.GetService <IEncryptUtil>();
 }
示例#4
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="mapper"></param>
 /// <param name="testDB"></param>
 /// <param name="encryptUtil"></param>
 public UserSvc(IMapper mapper, TestDBContext testDB, IEncryptUtil encryptUtil) : base(mapper, testDB)
 {
     _encryptUtil = encryptUtil;
 }
 public WeComCoreSvc(IEncryptUtil encryptUtil, IHttpClientUtil httpClientUtil) : base(httpClientUtil)
 {
     _encryptUtil = encryptUtil;
 }