public WechatMPApi(
     IMenuService menu,
     IOAuthService oauth,
     IUIService ui,
     IMessageService message,
     IMaterialService material,
     IBrocastMsgService brocastMsg,
     ITemplateMsgService templateMsg,
     ISubscriptionMsgService subscriptionMsg,
     IUserManagementService userManagement,
     IQrCodeService qrCode,
     IUrlService url,
     KFManagementService kfManagement
     )
 {
     Debugger.Break();
     Menu            = menu;
     OAuth           = oauth;
     JsUI            = ui;
     Message         = message;
     Material        = material;
     BrocastMsg      = brocastMsg;
     TemplateMsg     = templateMsg;
     SubscriptionMsg = subscriptionMsg;
     UserManagement  = userManagement;
     QrCode          = qrCode;
     Url             = url;
     KFManagement    = kfManagement;
 }
 public QrCodeController(
     IQrCodeService qrCodeService,
     IImageFileService imageFileService)
 {
     this.qrCodeService    = qrCodeService;
     this.imageFileService = imageFileService;
 }
Exemple #3
0
 public ItemController(IItemService itemService,
                       IQrCodeService qrCodeService,
                       IStorageService storageService)
 {
     _itemService    = itemService;
     _qrCodeService  = qrCodeService;
     _storageService = storageService;
 }
 public TesteHostedService(
     ILoggerFactory loggerFactory,
     IQrCodeService qrCodeService,
     IHubContext <TheosMaquininhaHub> hubContext)
 {
     _hubContext    = hubContext;
     _qrCodeService = qrCodeService;
     _logger        = loggerFactory.CreateLogger <TesteHostedService>();
 }
Exemple #5
0
 public CardsService(
     IDeletableEntityRepository <Card> cardRepository,
     IQrCodeService qrCodeService,
     INotificationsService notificationsService)
 {
     this.cardRepository       = cardRepository;
     this.qrCodeService        = qrCodeService;
     this.notificationsService = notificationsService;
 }
Exemple #6
0
 public AccountController(IUserGenerator userGenerator,
                          IUserQueryService userQueryService,
                          IQrCodeService qrCodeService,
                          IUserOAuthService userOAuthService)
 {
     _userGenerator    = userGenerator;
     _userQueryService = userQueryService;
     _qrCodeService    = qrCodeService;
     _userOAuthService = userOAuthService;
 }
 public WentangAPIController(IWechatMPUserService addressBookServiceService,
                             IWechatMPUserService WechatMPUserService,
                             IFocusHistoryService FocusHistoryService,
                             IQrCodeService QrCodeService)
     : base(addressBookServiceService)
 {
     _WechatMPUserService = WechatMPUserService;
     _QrCodeService       = QrCodeService;
     _FocusHistoryService = FocusHistoryService;
 }
Exemple #8
0
 public QRCodeHostedService(
     ILoggerFactory loggerFactory,
     IOptions <TimerServiceConfiguration> options,
     IHubContext <TheosMaquininhaHub> hubContext,
     IServiceScopeFactory factory,
     IQrCodeService qrCodeService
     )
 {
     _logger        = loggerFactory.CreateLogger <QRCodeHostedService>();
     _options       = options;
     _hubContext    = hubContext;
     _factory       = factory;
     _qrCodeService = qrCodeService;
 }
Exemple #9
0
 public ZXingQrCodeServiceTest(ITestOutputHelper output) : base(output)
 {
     _service = new ZXingQrCodeService();
 }
 public QrCodeServiceTest()
 {
     _qrCodeService = new QrCodeService(AccountModel);
 }
Exemple #11
0
 public QrCodesController()
 {
     this.qrCodeService = new QrCodeService();
 }
Exemple #12
0
 /// <summary>
 /// 创建一个永久二维码。
 /// </summary>
 /// <param name="qrCodeService">二维码服务。</param>
 /// <param name="model">创建二维码模型。</param>
 /// <returns>创建二维码的结果模型。</returns>
 public static CreateQrCodeResultModel CreateForever(this IQrCodeService qrCodeService, CreateForeverQrCodeModel model)
 {
     return(qrCodeService.NotNull("qrCodeService").Create(model));
 }
Exemple #13
0
 /// <summary>
 /// 创建一个临时二维码。
 /// </summary>
 /// <param name="qrCodeService">二维码服务。</param>
 /// <param name="model">创建二维码模型。</param>
 /// <returns>创建二维码的结果模型。</returns>
 public static CreateQrCodeResultModel CreateTemporary(this IQrCodeService qrCodeService, CreateTemporaryQrCodeModel model)
 {
     return(qrCodeService.NotNull("qrCodeService").Create(model));
 }
Exemple #14
0
 public HomeController(IQrCodeService objectService)
     : base(objectService)
 {
 }
 public QrCodeServiceTest()
 {
     _qrCodeService = new QrCodeService(AccountModel);
 }
 public HomeController(ILogger <HomeController> logger, IQrCodeService qrCodeService)
 {
     _logger        = logger ?? throw new ArgumentNullException(nameof(logger));
     _qrCodeService = qrCodeService ?? throw new ArgumentNullException(nameof(qrCodeService));
 }
 public QrCodeController(IQrCodeService qrCodeService)
 {
     _qrCodeService = qrCodeService;
 }
 public QRCoderQrCodeServiceTest(ITestOutputHelper output) : base(output)
 {
     _service = new QRCoderQrCodeService();
 }
 public QrCodeController(ITabaccoService tabaccosService, IQrCodeService qrCodeService)
 {
     this.qrCodeService   = qrCodeService;
     this.tabaccosService = tabaccosService;
 }
Exemple #20
0
        public DisplayNewQrCodePageViewModel(IQrCodeService qrCodeService)
        {
            _qrCodeService = qrCodeService;

            SetCurrentDate();
        }
Exemple #21
0
 IndexModel(IQrCodeService qrCodeService)
 {
     this.qrCodeService = qrCodeService;
 }
 public QrCodeController(IQrCodeService objectService, IFocusHistoryService historyService)
     : base(objectService)
 {
     _historyService = historyService;
 }