public ClientsController(
     INotificationHandler <DomainNotification> notifications,
     IMediatorHandler mediator,
     IClientAppService clientAppService) : base(notifications, mediator)
 {
     _clientAppService = clientAppService;
 }
Пример #2
0
 public ClientController(
     IMapper mapper,
     IClientAppService clientAppService)
 {
     _mapper           = mapper;
     _clientAppService = clientAppService;
 }
Пример #3
0
 public BillController(IClientAppService clientAppService, IExchangeObjectAppService exchangeObjectAppService, IDepartmentAppService departmentAppService, IPlaceAppService placeAppService, IBillAppService billAppService)
 {
     _clientAppService         = clientAppService;
     _exchangeObjectAppService = exchangeObjectAppService;
     _departmentAppService     = departmentAppService;
     _placeAppService          = placeAppService;
     _billAppService           = billAppService;
 }
Пример #4
0
 public ClientsController(
     INotificationHandler <DomainNotification> notifications,
     IMediatorHandler mediator,
     IClientAppService clientAppService, ISystemUser user) : base(notifications, mediator)
 {
     _clientAppService = clientAppService;
     _user             = user;
 }
Пример #5
0
 public ClientController(IClientAppService clientAppService,
                         IFriendAppService friendAppService,
                         ILoginAppService loginAppService)
 {
     _clientAppService = clientAppService;
     _friendAppService = friendAppService;
     _loginAppService  = loginAppService;
 }
 public ClientAppServiceInMemoryTest(WarmupInMemory inMemoryData, ITestOutputHelper output)
 {
     _output           = output;
     InMemoryData      = inMemoryData;
     _clientAppService = InMemoryData.Services.GetRequiredService <IClientAppService>();
     _database         = InMemoryData.Services.GetRequiredService <JPProjectAdminUIContext>();
     _notifications    = (DomainNotificationHandler)InMemoryData.Services.GetRequiredService <INotificationHandler <DomainNotification> >();
     _notifications.Clear();
 }
Пример #7
0
 public LetterController(ILetterAppService letterAppService, IDepartmentAppService departmentAppService, IGroupAppService groupAppService, IUserAppService userAppService, IClientAppService clientAppService, IPlaceAppService placeAppService)
 {
     _letterAppService     = letterAppService;
     _departmentAppService = departmentAppService;
     _groupAppService      = groupAppService;
     _userAppService       = userAppService;
     _clientAppService     = clientAppService;
     _placeAppService      = placeAppService;
 }
Пример #8
0
        public ClientsController(IClientAppService clientAppService, IPhoneAppService phoneAppService)
        {
            _clientAppService = clientAppService;
            _phoneAppService  = phoneAppService;
            var conn = System.Configuration.ConfigurationManager.ConnectionStrings["ExemploClienteSp"].ConnectionString;

            _clientAppService.SetContext(conn);
            _phoneAppService.SetContext(conn);
        }
Пример #9
0
 public AccountController(IAccountAppService accountAppService, IOptions <AccountSettings> accountSettings, IClientAppService clientAppService, ICardAppService cardAppService, IUserAppService userAppService, ILogger <AccountController> logger)
 {
     _accountAppService = accountAppService;
     _accountSettings   = accountSettings;
     _clientAppService  = clientAppService;
     _cardAppService    = cardAppService;
     _userAppService    = userAppService;
     _logger            = logger;
 }
Пример #10
0
 public MainViewModel(IClientDialogService dialogService, IClientAppService appService)
 {
     DialogService    = dialogService;
     AppService       = appService;
     DownloadItems    = new ObservableCollection <DownloadItemViewModel>();
     PaymentItems     = new ObservableCollection <PaymentPlanHistoryViewModel>();
     DesignClaimItems = new ObservableCollection <ClaimItemViewModel>();
     AppService.Initialize();
 }
 public ClientsController(
     INotificationHandler <DomainNotification> notifications,
     IMediatorHandler mediator,
     IClientAppService clientAppService,
     ISystemUser user,
     IHttpContextAccessor httpContext) : base(notifications, mediator)
 {
     _clientAppService = clientAppService;
     _user             = user;
     _httpContext      = httpContext;
 }
 public ClientCashFlowAppService(
     IUnitOfWork <MainContext> unitOfWork,
     IMoneyActionAppService moneyActionAppService,
     IAppSession appSession,
     IClientAppService clientAppService,
     IClientCashAppService clientCashAppService)
 {
     _unitOfWork            = unitOfWork;
     _moneyActionAppService = moneyActionAppService;
     _appSession            = appSession;
 }
Пример #13
0
 public ClientControl()
     : base()
 {
     this.InitializeComponent();
     this.SetGridStyle();
     this.useRealEntity = true;
     if (!Container.IsRegistered<IClientAppService>())
     {
         Container.RegisterType<IClientAppService, ClientAppService>();
     }
     this.clientAppService = Container.Resolve<IClientAppService>();
 }
Пример #14
0
 public WorkbenchController(IWorkbenchAppService workbenchAppService,
                            IClientAppService clientAppService,
                            IBizSystemAppService bizSystemAppService,
                            IBadgeApiClient badgeApiClient,
                            IMobileCodeSender mobileCodeSender,
                            Func <Guid, IUserSettingAppService> userSettingAppServiceFactory)
 {
     _workbenchAppService          = workbenchAppService;
     _badgeApiClient               = badgeApiClient;
     _clientAppService             = clientAppService;
     _bizSystemAppService          = bizSystemAppService;
     _mobileCodeSender             = mobileCodeSender;
     _userSettingAppServiceFactory = userSettingAppServiceFactory;
     _logger = Log.ForContext <WorkbenchController>();
 }
Пример #15
0
        public void InjectAppServiceAndInit(IClientAppService appService, SettingsDto settings, string serverAddress, bool startLauncher, bool isClient)
        {
            _appService = appService;

            Address1      = settings.Address1;
            Address2      = settings.Address2;
            Tin           = settings.Tin;
            UseProxy      = settings.UseProxy;
            ProxyAddress  = settings.ProxyAddress;
            ProxyPort     = settings.ProxyPort;
            ProxyPassword = settings.ProxyPassword;
            SelectedType  = settings.PmsType;
            State         = settings.State;
            StartPms      = settings.StartPms;
            StartLauncher = startLauncher;
            _machineId    = settings.MachineId;
            IsClient      = isClient;
            City          = settings.City;
            Zip           = settings.Zip;
            ServerHost    = Api.Common.Utils.GetHostFromAddress(serverAddress);
        }
Пример #16
0
 public FieldController(IFieldAppService fieldAppService, IClientAppService clientAppService)
 {
     this.fieldAppService  = fieldAppService;
     this.clientAppService = clientAppService;
 }
 public CreateNewClientTest()
 {
     _clientAppService = LocalIocManager.Resolve <IClientAppService>();
 }
 public ClientsController(IClientAppService service, IMapper mapper)
 {
     _serviceApp = service;
     _mapper     = mapper;
 }
Пример #19
0
 public ClientController(IClientAppService clientAppService)
 {
     ClientAppService = clientAppService;
 }
Пример #20
0
 public AccountsController(IAccountAppService accountAppService, IClientAppService clientAppService)
 {
     _accountAppService = accountAppService;
     _clientAppService = clientAppService;
 }
Пример #21
0
 public void InjectAppServiceAndInit(IClientAppService appService)
 {
     _clientAppService = appService;
 }
Пример #22
0
 public ClientApiController(IClientAppService clientAppService, INotificationHandler <DomainNotification> notifications) : base(notifications)
 {
     this.clientAppService = clientAppService;
 }
 public ProductsController(IProductAppService productApp, IClientAppService clientApp, IMapper mapper)
 {
     _productApp = productApp;
     _clientApp  = clientApp;
     _mapper     = mapper;
 }
Пример #24
0
 public ClientController(IClientAppService clientService, IMapper mapper)
 {
     this.clientService = clientService;
     this.mapper        = mapper;
 }
Пример #25
0
 public CallbackHandler(IDialogService dialogService, IClientAppService clientAppService)
 {
     _dialogService    = dialogService;
     _clientAppService = clientAppService;
 }
Пример #26
0
        /// <summary>
        /// Initializes a new instance of the <see cref="FacturaControl"/> class.
        /// </summary>
        /// <remarks>
        /// Class Constructor
        /// </remarks>       
        public FacturaControl()
            : base()
        {
            this.InitializeComponent();
            this.SetdataGridViewClientesGridStyle();
            this.SetdataGridViewFacturasGridStyle();
            this.SetdataGridViewFacturaLineGridStyle();
            this.useRealEntity = true;
            if (!Container.IsRegistered<IClientAppService>())
            {
                Container.RegisterType<IClientAppService, ClientAppService>();
            }

            if (!Container.IsRegistered<IFacturaAppService>())
            {
                Container.RegisterType<IFacturaAppService, FacturasAppService>();
            }

            this.clientAppService = Container.Resolve<IClientAppService>();
            this.facturaAppService = Container.Resolve<IFacturaAppService>();
        }
Пример #27
0
 public ClaimItemViewModel(IClientAppService appService, IPaymentsCalculationViewModel paymentsCalculationViewModel)
 {
     _appService = appService;
     _paymentsCalculationViewModel = paymentsCalculationViewModel;
 }
Пример #28
0
 public ClientController(IClientAppService ClientAppService, ILookupAppService LookupAppService)
 {
     _ClientAppService = ClientAppService;
     _LookupAppService = LookupAppService;
 }
 public ClientsController(IClientAppService clientApp)
 {
     _clientApp = clientApp;
 }
Пример #30
0
 public ClientAppService_tests()
 {
     _clientAppService = Resolve <IClientAppService>();
 }
Пример #31
0
 public HomeController(IClientAppService clientApp)
 {
     _clientApp = clientApp;
 }
 public EditModalModel(IClientAppService clientAppService)
 {
     _clientAppService = clientAppService;
 }
Пример #33
0
 public RemoteCLIHub(IHubContext <RemoteCLIManagementHub> managementContext, IClientAppService clientAppService)
 {
     _managementContext = managementContext;
     _clientAppService  = clientAppService;
 }
Пример #34
0
 public RemoteCLIManagementHub(IClientAppService clientAppService, IHubContext <RemoteCLIHub> clientContext)
 {
     _clientAppService = clientAppService;
     _clientContext    = clientContext;
 }