public StartRequestingForContacts(
     ICurrentContext currentContext,
     IEventAggregator eventAggregator,
     IContactsProvider contactsProvider)
 {
     _currentContext = currentContext;
     _eventAggregator = eventAggregator;
     _contactsProvider = contactsProvider;
 }
 public StartRequestingForMessages(
     IServerConnection serverConnection,
     IEventAggregator eventAggregator,
     ICurrentContext currentContext)
 {
     _serverConnection = serverConnection;
     _eventAggregator = eventAggregator;
     _currentContext = currentContext;
 }
 public StartRequestingForFiles(
     IServerConnection serverConnection,
     ICurrentContext currentContext,
     IEventAggregator eventAggregator)
 {
     _serverConnection = serverConnection;
     _currentContext = currentContext;
     _eventAggregator = eventAggregator;
 }
 public StartRequestingForConferencialMessages(
     ICurrentContext currentContext, 
     IServerConnection serverConnection, 
     IEventAggregator eventAggregator)
 {
     _currentContext = currentContext;
     _serverConnection = serverConnection;
     _eventAggregator = eventAggregator;
 }
 public NewConferencialMessagesWindow(
     IEnumerable<int> connectedNumbers,
     IWindowManager windowManager,
     ICurrentContext currentContext,
     Func<IEnumerable<int>, ConferencialMessagesViewModel> conferencialMessagesViewModelFactory)
 {
     _connectedNumbers = connectedNumbers;
     _windowManager = windowManager;
     _currentContext = currentContext;
     _conferencialMessagesViewModelFactory = conferencialMessagesViewModelFactory;
 }
 public NewMessagesWindow(
     IWindowManager windowManager,
     ICurrentContext currentContext,
     Func<int, MessagesViewModel> messagesViewModelFactory,
     int connectedContactNumber)
 {
     _windowManager = windowManager;
     _currentContext = currentContext;
     _connectedContactNumber = connectedContactNumber;
     _messageViewModelFactory = messagesViewModelFactory;
 }
Пример #7
0
 public Login(
     IServerConnection serverConnection,
     ICurrentContext currentContext,
     IHashService hashService,
     LoginInformations loginInformations,
     IEventAggregator eventAggregator)
 {
     _serverConnection = serverConnection;
     _currentContext = currentContext;
     _hashService = hashService;
     _loginInformations = loginInformations;
     _eventAggregator = eventAggregator;
 }
        public ConferencialMessagesViewModel(
            ICurrentContext currentContext,
            Func<ConferencialMessageData, SendConferencialMessage> sendConferenceMessageFactory, 
            INumbersToNamesConverter numbersToNamesConverter,
            IEnumerable<int> connectedContactNumbers)
        {
            base.DisplayName = numbersToNamesConverter.ConvertGroup(connectedContactNumbers);

            ConnectedContactsNumber = connectedContactNumbers;
            _currentContext = currentContext;
            _sendConferenceMessageFactory = sendConferenceMessageFactory;
            _numbersToNamesConverter = numbersToNamesConverter;

            Messages = new BindableCollection<ConferencialMessageViewModel>();
        }
 public CloseAllMessagesWindows(
     ICurrentContext currentContext)
 {
     _currentContext = currentContext;
 }
Пример #10
0
 public UOW(EMSContext context, ICurrentContext currentContext)
 {
     this.context = context;
     UserRepository = new UserRepository(context);
     EntityFrameworkManager.ContextFactory = DbContext => context;
 }
Пример #11
0
 public CustomerLeadLevelValidator(IUOW UOW, ICurrentContext CurrentContext)
 {
     this.UOW            = UOW;
     this.CurrentContext = CurrentContext;
 }
Пример #12
0
 public GenericServiceReadOnly(ICurrentContext currentContext, ILogger logger) : base(currentContext, logger)
 {
 }
Пример #13
0
 public SmsTemplateValidator(IUOW UOW, ICurrentContext CurrentContext)
 {
     this.UOW            = UOW;
     this.CurrentContext = CurrentContext;
 }
 public InfulenceLevelMarketValidator(IUOW UOW, ICurrentContext CurrentContext)
 {
     this.UOW            = UOW;
     this.CurrentContext = CurrentContext;
 }
 public ContactsStorageController(ICurrentContext currentContext)
 {
     _currentContext = currentContext;
 }
Пример #16
0
 public LogService(IUnitOfWork unitOfWork, ICurrentContext currentContext, IMapper mapper)
     : base(unitOfWork, currentContext, mapper)
 {
     _repository = unitOfWork.RegisterRepository <LogRepository>();
 }
Пример #17
0
 public PlaceValidator(IUOW UOW, ICurrentContext CurrentContext)
 {
     this.UOW            = UOW;
     this.CurrentContext = CurrentContext;
 }
Пример #18
0
 public EventMessage(ICurrentContext currentContext)
     : base()
 {
     IpAddress  = currentContext.IpAddress;
     DeviceType = currentContext.DeviceType;
 }
Пример #19
0
 public WardRepository(DataContext DataContext, ICurrentContext CurrentContext)
 {
     this.DataContext    = DataContext;
     this.CurrentContext = CurrentContext;
 }
Пример #20
0
 public FormService(IUOW UOW, IFormValidator FormValidator, ICurrentContext CurrentContext)
 {
     this.UOW            = UOW;
     this.FormValidator  = FormValidator;
     this.CurrentContext = CurrentContext;
 }
 public RelationshipCustomerTypeValidator(IUOW UOW, ICurrentContext CurrentContext)
 {
     this.UOW            = UOW;
     this.CurrentContext = CurrentContext;
 }
Пример #22
0
 public CustomerPointHistoryValidator(IUOW UOW, ICurrentContext CurrentContext)
 {
     this.UOW            = UOW;
     this.CurrentContext = CurrentContext;
 }
Пример #23
0
 public bool RequireCaptchaValidation(ICurrentContext currentContext) => false;
Пример #24
0
 public EnteDomicilioTipoService(IUnitOfWork unitOfWork, ICurrentContext currentContext, IMapper mapper)
     : base(unitOfWork, currentContext, mapper)
 {
     _repository = unitOfWork.RegisterRepository<EnteDomicilioTipoRepository>();
 }
 public StudentProfileController(ICurrentContext CurrentContext,
                                 IStudentService StudentService
                                 ) : base(CurrentContext)
 {
     this.StudentService = StudentService;
 }
Пример #26
0
 public TicketOfDepartmentValidator(IUOW UOW, ICurrentContext CurrentContext)
 {
     this.UOW            = UOW;
     this.CurrentContext = CurrentContext;
 }
Пример #27
0
 public AccountValidator(IUOW UOW, ICurrentContext CurrentContext)
 {
     this.UOW            = UOW;
     this.CurrentContext = CurrentContext;
 }
Пример #28
0
 public LocaleStringResourceAppService(ILocaleStringResourceService localeStringResourceService, ILanguageService languageService, ICurrentContext context, ILogger <LocaleStringResourceAppService> logger, ICommonService commonService)
 {
     _localeStringResourceService = localeStringResourceService;
     _languageService             = languageService;
     _context       = context;
     _commonService = commonService;
     _logger        = logger;
 }
Пример #29
0
 public StatusValidator(IUOW UOW, ICurrentContext CurrentContext)
 {
     this.UOW            = UOW;
     this.CurrentContext = CurrentContext;
 }
Пример #30
0
 public OrganizationValidator(IUOW UOW, ICurrentContext CurrentContext)
 {
     this.UOW            = UOW;
     this.CurrentContext = CurrentContext;
 }
 public DataValidationInterceptor(ICurrentContext currentContext)
 {
     this.currentContext = currentContext;
 }
Пример #32
0
 public MarketPriceValidator(IUOW UOW, ICurrentContext CurrentContext)
 {
     this.UOW            = UOW;
     this.CurrentContext = CurrentContext;
 }
Пример #33
0
 public VariationRepository(DataContext DataContext, ICurrentContext CurrentContext)
 {
     this.DataContext    = DataContext;
     this.CurrentContext = CurrentContext;
 }
Пример #34
0
 public TicketPriorityValidator(IUOW UOW, ICurrentContext CurrentContext)
 {
     this.UOW            = UOW;
     this.CurrentContext = CurrentContext;
 }
 public StopRequestingForContacts(
     ICurrentContext currentContext)
 {
     _currentContext = currentContext;
 }
Пример #36
0
 public CondicionIvaService(IUnitOfWork unitOfWork, ICurrentContext currentContext, IMapper mapper)
     : base(unitOfWork, currentContext, mapper)
 {
     _repository = unitOfWork.RegisterRepository <CondicionIvaRepository>();
 }
 public StopRequestingForConferencialMessages(
     ICurrentContext currentContext)
 {
     _currentContext = currentContext;
 }
Пример #38
0
        public async Task Invoke(HttpContext httpContext, ICurrentContext currentContext, GlobalSettings globalSettings)
        {
            await currentContext.BuildAsync(httpContext, globalSettings);

            await _next.Invoke(httpContext);
        }
 public ContactsStorageController(ICurrentContext currentContext)
 {
     _currentContext = currentContext;
 }
Пример #40
0
 public StudentRepository(ExamRegContext examReg, ICurrentContext CurrentContext)
 {
     this.examRegContext = examReg;
     this.CurrentContext = CurrentContext;
 }
Пример #41
0
 public PacienteAppService(IPatientManager patientManager,
                           ICurrentContext context,
                           ILogger<PacienteAppService> logger) : base(context, logger)
 {
     _patientManager = patientManager;
 }
Пример #42
0
 public ArticuloLineaService(IUnitOfWork unitOfWork, ICurrentContext currentContext, IMapper mapper)
     : base(unitOfWork, currentContext, mapper)
 {
     _repository = unitOfWork.RegisterRepository <ArticuloLineaRepository>();
 }