public UserSvc( LiveShowDBContext liveShowDB, IEncryptUtil encryptUtil ) : base(liveShowDB) { _encryptUtil = encryptUtil; }
/// <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>(); }
/// <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; }