Exemplo n.º 1
0
 public UserSvc(
     LiveShowDBContext liveShowDB,
     IEncryptUtil encryptUtil
     ) : base(liveShowDB)
 {
     _encryptUtil = encryptUtil;
 }
Exemplo n.º 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>();
 }
Exemplo n.º 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;
 }
Exemplo n.º 5
0
 public WeComCoreSvc(IEncryptUtil encryptUtil, IHttpClientUtil httpClientUtil) : base(httpClientUtil)
 {
     _encryptUtil = encryptUtil;
 }