public WeixinAppService( IGuidGenerator guidGenerator, IConfiguration configuration, IHttpClientFactory httpClientFactory, IPasswordHasher <IdentityUser> passwordHasher, ICurrentTenant currentTenant, ISettingProvider setting, WeixinManager weixinManager, IdentityUserStore identityUserStore, ICapPublisher capBus, IUserClaimsPrincipalFactory <IdentityUser> principalFactory, IdentityServerOptions options, IHttpContextAccessor httpContextAccessor, ITokenService TS, IUnitOfWorkManager unitOfWorkManager, IAppProvider appProvider ) { ObjectMapperContext = typeof(WeixinModule); _guidGenerator = guidGenerator; _configuration = configuration; _httpClientFactory = httpClientFactory; _passwordHasher = passwordHasher; _currentTenant = currentTenant; _setting = setting; _weixinManager = weixinManager; _identityUserStore = identityUserStore; _capBus = capBus; _principalFactory = principalFactory; _options = options; _httpContextAccessor = httpContextAccessor; _ts = TS; _unitOfWorkManager = unitOfWorkManager; _appProvider = appProvider; }
public WeixinAppService( IGuidGenerator guidGenerator, IConfiguration configuration, IHttpClientFactory httpClientFactory, IPasswordHasher <IdentityUser> passwordHasher, ICurrentTenant currentTenant, ISettingProvider setting, WeixinManager weixinManager, IdentityUserStore identityUserStore, ICapPublisher capBus, IUnitOfWorkManager unitOfWorkManager, IAppProvider appProvider, IWeixinApi weixinApi) { ObjectMapperContext = typeof(WeixinModule); _guidGenerator = guidGenerator; _configuration = configuration; _httpClientFactory = httpClientFactory; _passwordHasher = passwordHasher; _currentTenant = currentTenant; _setting = setting; _weixinManager = weixinManager; _identityUserStore = identityUserStore; _capBus = capBus; _unitOfWorkManager = unitOfWorkManager; _appProvider = appProvider; _weixinApi = weixinApi; }
protected void Application_Start() { LogManager.GetCurrentClassLogger().Info("服务启动"); IocHelper.Init(); AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); WeixinManager.Init(); }
public GetOuQueryHandler( IRepository <QrDetail, Guid> repository, IHttpContextAccessor httpContextAccessor, ICurrentTenant currentTenant, WeixinManager weixinManager, IAppProvider appProvider ) { _repository = repository; _httpContextAccessor = httpContextAccessor; _currentTenant = currentTenant; _weixinManager = weixinManager; _appProvider = appProvider; }
public WexinCapSubscriberService(WeixinManager weixinManager) { _weixinManager = weixinManager; }