public LinkLabelViewModel(IMessageService messageService)
        {
            Argument.IsNotNull(() => messageService);

            _messageService = messageService;
            DefaultAction = new Command(OnDefaultActionExecute);
        }
 public VolunteerController(IDisaster disasterSvc, ICluster clusterSvc, IAdmin adminSvc, IMessageService messageSvc)
 {
     _disasterSvc = disasterSvc;
     _clusterSvc = clusterSvc;
     _adminSvc = adminSvc;
     _messageSvc = messageSvc;
 }
Exemple #3
0
        public AppDataService(IMessageService messageService, ISaveFileService saveFileService, 
            IProcessService processService, IDirectoryService directoryService, IFileService fileService)
        {
            Argument.IsNotNull(() => messageService);
            Argument.IsNotNull(() => saveFileService);
            Argument.IsNotNull(() => processService);
            Argument.IsNotNull(() => directoryService);
            Argument.IsNotNull(() => fileService);

            _messageService = messageService;
            _saveFileService = saveFileService;
            _processService = processService;
            _directoryService = directoryService;
            _fileService = fileService;

            ExclusionFilters = new List<string>(new []
            {
                "licenseinfo.xml",
                "*.log"
            });

            var applicationDataDirectory = Catel.IO.Path.GetApplicationDataDirectory();

            _directoryService.Create(applicationDataDirectory);

            ApplicationDataDirectory = applicationDataDirectory;
        }
 public PhobosInitializationAttribute(IUserManagementService userMngSvc, INavigationService navSvc, INotificationService notificationService, IMessageService msgService)
 {
     this.userManagementService = userMngSvc;
     this.navigationService = navSvc;
     this.notificationService = notificationService;
     this.msgService = msgService;
 }
 public SendMessageRequestHandler(BrokerController brokerController)
 {
     _brokerController = brokerController;
     _messageService = ObjectContainer.Resolve<IMessageService>();
     _binarySerializer = ObjectContainer.Resolve<IBinarySerializer>();
     _logger = ObjectContainer.Resolve<ILoggerFactory>().Create(GetType().Name);
 }
 public PackageService(
     ICryptographyService cryptoSvc,
     IEntityRepository<PackageRegistration> packageRegistrationRepo,
     IEntityRepository<Package> packageRepo,
     IEntityRepository<PackageStatistics> packageStatsRepo,
     IPackageFileService packageFileSvc,
     IEntityRepository<PackageOwnerRequest> packageOwnerRequestRepository,
     IIndexingService indexingSvc,
     IEntityRepository<PackageAuthor> packageAuthorRepo,
     IEntityRepository<PackageFramework> packageFrameworksRepo,
     IEntityRepository<PackageDependency> packageDependenciesRepo,
     IEntityRepository<PackageFile> packageFilesRepo,
     IMessageService messageSvc)
 {
     this.cryptoSvc = cryptoSvc;
     this.packageRegistrationRepo = packageRegistrationRepo;
     this.packageRepo = packageRepo;
     this.packageStatsRepo = packageStatsRepo;
     this.packageFileSvc = packageFileSvc;
     this.packageOwnerRequestRepository = packageOwnerRequestRepository;
     this.indexingSvc = indexingSvc;
     this.packageAuthorRepo = packageAuthorRepo;
     this.packageFrameworksRepo = packageFrameworksRepo;
     this.packageDependenciesRepo = packageDependenciesRepo;
     this.packageFilesRepo = packageFilesRepo;
     this.messageSvc = messageSvc;
 }
 public PackagesController(
     IPackageService packageService,
     IUploadFileService uploadFileService,
     IUserService userService,
     IMessageService messageService,
     ISearchService searchService,
     IAutomaticallyCuratePackageCommand autoCuratedPackageCmd,
     INuGetExeDownloaderService nugetExeDownloaderService,
     IPackageFileService packageFileService,
     IEntitiesContext entitiesContext,
     IAppConfiguration config,
     IIndexingService indexingService,
     ICacheService cacheService)
 {
     _packageService = packageService;
     _uploadFileService = uploadFileService;
     _userService = userService;
     _messageService = messageService;
     _searchService = searchService;
     _autoCuratedPackageCmd = autoCuratedPackageCmd;
     _nugetExeDownloaderService = nugetExeDownloaderService;
     _packageFileService = packageFileService;
     _entitiesContext = entitiesContext;
     _config = config;
     _indexingService = indexingService;
     _cacheService = cacheService;
 }
        public MainWindowViewModel(IUIVisualizerService visualizerService, IMessageService messageService)
        {
            _visualizerService = visualizerService;
            _messageService = messageService;

            AddBankCommand = new Command(OnAddBankCommandExecute);
        }
 /// <summary>
 /// Initialises a new instance of the <see cref="JoinMessageService"/> class.
 /// </summary>
 /// <param name="ircClient">
 /// The IRC network.
 /// </param>
 /// <param name="logger">
 /// The logger.
 /// </param>
 /// <param name="repository">
 /// The repository.
 /// </param>
 /// <param name="messageService">
 /// The message Service.
 /// </param>
 public JoinMessageService(IIrcClient ircClient, ILogger logger, IWelcomeUserRepository repository, IMessageService messageService)
 {
     this.ircClient = ircClient;
     this.logger = logger;
     this.repository = repository;
     this.messageService = messageService;
 }
        public AuthenticationController(
            AuthenticationService authService,
            IUserService userService,
            IMessageService messageService,
            ICredentialBuilder credentialBuilder)
        {
            if (authService == null)
            {
                throw new ArgumentNullException(nameof(authService));
            }

            if (userService == null)
            {
                throw new ArgumentNullException(nameof(userService));
            }

            if (messageService == null)
            {
                throw new ArgumentNullException(nameof(messageService));
            }

            if (credentialBuilder == null)
            {
                throw new ArgumentNullException(nameof(credentialBuilder));
            }

            _authService = authService;
            _userService = userService;
            _messageService = messageService;
            _credentialBuilder = credentialBuilder;
        }
 public ShellService(IWindowHost window,IMessageService messageService,IUnityContainer container,IChildViewService childViewService)
 {
     _messageService = messageService;
     _window = window;
     _container = container;
     _childViewService = childViewService;
 }
        public FileController(CompositionContainer container, IMessageService messageService, IFileDialogService fileDialogService,
            IShellService shellService, FileService fileService)
        {
            this.container = container;
            this.messageService = messageService;
            this.fileDialogService = fileDialogService;
            this.shellService = shellService;
            this.fileService = fileService;
            this.documentTypes = new List<IDocumentType>();

            this.newDocumentCommand = new DelegateCommand(NewDocumentCommand, CanNewDocumentCommand);
            this.closeDocumentCommand = new DelegateCommand(CloseDocumentCommand, CanCloseDocumentCommand);
            this.saveDocumentCommand = new DelegateCommand(SaveDocumentCommand, CanSaveDocumentCommand);
            this.saveAllDocumentCommand = new DelegateCommand(SaveAllDocumentCommand, CanSaveAllDocumentCommand);
            this.newSolutionCommand = new DelegateCommand(NewSolutionCommand);
            this.openSolutionCommand = new DelegateCommand(OpenSolutionCommand);
            this.closeSolutionCommand = new DelegateCommand(CloseSolutionCommand, CanCloseSolutionCommand);
            this.showSolutionCommand = new DelegateCommand(ShowSolutionCommand, CanShowSolutionCommand);

            this.fileService.NewDocumentCommand = this.newDocumentCommand;
            this.fileService.CloseDocumentCommand = this.closeDocumentCommand;
            this.fileService.SaveDocumentCommand = this.saveDocumentCommand;
            this.fileService.SaveAllDocumentCommand = this.saveAllDocumentCommand;
            this.fileService.NewSolutionCommand = this.newSolutionCommand;
            this.fileService.OpenSolutionCommand = this.openSolutionCommand;
            this.fileService.CloseSolutionCommand = this.closeSolutionCommand;
            this.fileService.ShowSolutionCommand = this.showSolutionCommand;

            this.recentSolutionList = Settings.Default.RecentSolutionList;
            if (this.recentSolutionList == null) { this.recentSolutionList = new RecentFileList(); }
            this.fileService.RecentSolutionList = recentSolutionList;

            AddWeakEventListener(fileService, FileServicePropertyChanged);
        }
Exemple #13
0
 public MessageController(IMessageService iMessageService, IUserInfo iUserInfo, IUnitOfWork unitOfWork, IMessenger iMessenger)
 {
     _iMessageService = iMessageService;
     _iUserInfo = iUserInfo;
     _unitOfWork = unitOfWork;
     _iMessenger = iMessenger;
 }
 public AdminController() {
     sectionService = new ContentSectionService();
     postService = new ContentPostService();
     tempPostService = new ContentTempPostService();
     ntService = new NotificationService();
     msgService = new MessageService();
 }
 public EventController(ISecurityService securityService, IEventService eventService, IMessageService messageService)
     : base(securityService)
 {
     _securityService = securityService;
     _eventService = eventService;
     _messageService = messageService;
 }
        public ApplicationController(CompositionContainer container, IPresentationService presentationService,
            IMessageService messageService, ShellService shellService, ProxyController proxyController, DataController dataController)
        {
            InitializeCultures();
            presentationService.InitializeCultures();

            this.container = container;
            this.dataController = dataController;
            this.proxyController = proxyController;
            this.messageService = messageService;

            this.dataService = container.GetExportedValue<IDataService>();

            this.floatingViewModel = container.GetExportedValue<FloatingViewModel>();
            this.mainViewModel = container.GetExportedValue<MainViewModel>();
            this.userBugsViewModel = container.GetExportedValue<UserBugsViewModel>();
            this.teamBugsViewModel = container.GetExportedValue<TeamBugsViewModel>();

            shellService.MainView = mainViewModel.View;
            shellService.UserBugsView = userBugsViewModel.View;
            shellService.TeamBugsView = teamBugsViewModel.View;

            this.floatingViewModel.Closing += FloatingViewModelClosing;

            this.showMainWindowCommand = new DelegateCommand(ShowMainWindowCommandExcute);
            this.englishCommand = new DelegateCommand(() => SelectLanguage(new CultureInfo("en-US")));
            this.chineseCommand = new DelegateCommand(() => SelectLanguage(new CultureInfo("zh-CN")));
            this.settingCommand = new DelegateCommand(SettingDialogCommandExcute, CanSettingDialogCommandExcute);
            this.aboutCommand = new DelegateCommand(AboutDialogCommandExcute);
            this.exitCommand = new DelegateCommand(ExitCommandExcute);
        }
Exemple #17
0
 public PostCommand(IMessageService messageService, string userName, string text, IDateTimeHelper dateTimeHelper)
 {
     _userName = userName;
     _text = text;
     _dateTimeHelper = dateTimeHelper;
     _messageService = messageService;
 }
 public HomeViewModel(IStorageService storageService, IMvxMessenger messenger, IPopupHelper helper, IMessageService messageService)
     : base(messenger, helper)
 {
     _storageService = storageService;
     _messageService = messageService;
     SelectContactCommand = new MvxCommand<ContactListItem>(SelectContactCommandAction);
 }
Exemple #19
0
        public AboutViewModel(AboutInfo aboutInfo, IProcessService processService, IUIVisualizerService uiVisualizerService,
            IMessageService messageService)
        {
            Argument.IsNotNull(() => aboutInfo);
            Argument.IsNotNull(() => processService);
            Argument.IsNotNull(() => uiVisualizerService);
            Argument.IsNotNull(() => messageService);
            
            _processService = processService;
            _uiVisualizerService = uiVisualizerService;
            _messageService = messageService;

            var assembly = aboutInfo.Assembly;
            var version = VersionHelper.GetCurrentVersion(assembly);
            var buildDateTime = assembly.GetBuildDateTime();

            Title = assembly.Title();
            Version = string.Format("v {0}", version);
            BuildDateTime = string.Format("Built on {0}", buildDateTime);
            UriInfo = aboutInfo.UriInfo;
            Copyright = assembly.Copyright();
            CompanyLogoUri = aboutInfo.CompanyLogoUri;
            ImageSourceUrl = aboutInfo.LogoImageSource;
            ShowLogButton = aboutInfo.ShowLogButton;
            AppIcon = assembly.ExtractLargestIcon();
            OpenUrl = new Command(OnOpenUrlExecute, OnOpenUrlCanExecute);
            OpenLog = new TaskCommand(OnOpenLogExecuteAsync);
            ShowSystemInfo = new Command(OnShowSystemInfoExecute);
            EnableDetailedLogging = new Command(OnEnableDetailedLoggingExecute);
        }
Exemple #20
0
 public ApiController(
     IEntitiesContext entitiesContext,
     IPackageService packageService,
     IPackageFileService packageFileService,
     IUserService userService,
     INuGetExeDownloaderService nugetExeDownloaderService,
     IContentService contentService,
     IIndexingService indexingService,
     ISearchService searchService,
     IAutomaticallyCuratePackageCommand autoCuratePackage,
     IStatusService statusService,
     IMessageService messageService)
 {
     EntitiesContext = entitiesContext;
     PackageService = packageService;
     PackageFileService = packageFileService;
     UserService = userService;
     NugetExeDownloaderService = nugetExeDownloaderService;
     ContentService = contentService;
     StatisticsService = null;
     IndexingService = indexingService;
     SearchService = searchService;
     AutoCuratePackage = autoCuratePackage;
     StatusService = statusService;
     MessageService = messageService;
 }
Exemple #21
0
        public AboutViewModel(AboutInfo aboutInfo, IProcessService processService, IUIVisualizerService uiVisualizerService,
            IMessageService messageService, ILanguageService languageService)
        {
            Argument.IsNotNull(() => aboutInfo);
            Argument.IsNotNull(() => processService);
            Argument.IsNotNull(() => uiVisualizerService);
            Argument.IsNotNull(() => messageService);
            Argument.IsNotNull(() => languageService);

            _processService = processService;
            _uiVisualizerService = uiVisualizerService;
            _messageService = messageService;
            _languageService = languageService;

            var assembly = aboutInfo.Assembly;
            var version = aboutInfo.DisplayVersion;
            var buildDateTime = aboutInfo.BuildDateTime.Value;

            Title = aboutInfo.Name;
            Version = string.Format("v {0}", aboutInfo.DisplayVersion);
            BuildDateTime = string.Format(languageService.GetString("Orchestra_BuiltOn"), buildDateTime);
            UriInfo = aboutInfo.UriInfo;
            Copyright = aboutInfo.Copyright;
            CompanyLogoUri = aboutInfo.CompanyLogoUri;
            ImageSourceUrl = aboutInfo.LogoImageSource;
            ShowLogButton = aboutInfo.ShowLogButton;
            AppIcon = aboutInfo.AppIcon;
            OpenUrl = new Command(OnOpenUrlExecute, OnOpenUrlCanExecute);
            OpenLog = new TaskCommand(OnOpenLogExecuteAsync);
            ShowSystemInfo = new Command(OnShowSystemInfoExecute);
            EnableDetailedLogging = new Command(OnEnableDetailedLoggingExecute);
        }
 public AccountController(IVolunteerService volunteerSvc, ICluster clusterSvc, IWebSecurityWrapper webSecurity, IMessageService messageService)
 {
     _clusterSvc = clusterSvc;
     _webSecurity = webSecurity;
     _volunteerSvc = volunteerSvc;
     _messageService = messageService;
 }
		public MockNUnitTestFramework(IUnitTestDebuggerService debuggerService,
			ITestResultsMonitor testResultsMonitor, 
			UnitTestingOptions options,
			IMessageService messageService)
			: this(debuggerService, null, testResultsMonitor, options, messageService)
		{
		}
 public AccountController()
 {
     _userService = IoCFactory.UnityContainer.Resolve<IUserService>();
     _groupService = IoCFactory.UnityContainer.Resolve<IGroupService>();
     _messageService = IoCFactory.UnityContainer.Resolve<IMessageService>();
     _authHelper = IoCFactory.UnityContainer.Resolve<IAuthHelper>();
 }
Exemple #25
0
        public ChatController(IUserService userservice, IChatRoomService chatService, IMessageService messageService, IFileService fileService)
        {
            UserService = userservice;
            ChatService = chatService;
            MessageService = messageService;
            FileService = fileService;
            config = new MapperConfiguration(cfg =>
            {
                cfg.CreateMap<User, UserChatViewModel>()
                .ForMember(dest => dest.UserFoto,
                            opt => opt.MapFrom(src => src.UserFoto.
                                                       Insert(src.UserFoto.LastIndexOf('/') + 1,
                                                       "mini/")));
                cfg.CreateMap<ChatRoom, ChatRoomPartialViewModel>();

                cfg.CreateMap<Message, MessageViewModels>()
                .ForMember(dest => dest.UserName, opt => opt.MapFrom(src => src.User.UserName))
                .ForMember(dest => dest.PathFotoUser,
                            opt => opt.MapFrom(src => src.User.UserFoto.
                                                       Insert(src.User.UserFoto.LastIndexOf('/') + 1,
                                                       "mini/")))
                .ForMember(dest => dest.FileId,
                            opt => opt.MapFrom(src => src.File.Id))
                .ForMember(dest => dest.FileName,
                            opt => opt.MapFrom(src => src.File.NameFile));
                cfg.CreateMap<ChatRoom, ChatRoomViewModels>()
                .ForMember(dest => dest.UserName, opt => opt.MapFrom(src => src.User.UserName))
                .ForMember(dest => dest.Users, opt => opt.MapFrom(src => src.Users))
                .ForMember(dest => dest.Messages, opt => opt.MapFrom(src => src.Messages));
            });
        }
 public JsonApiController(IPackageService packageSvc, IUserService userSvc, IEntityRepository<PackageOwnerRequest> packageOwnerRequestRepository, IMessageService messageService)
 {
     this.packageSvc = packageSvc;
     this.userSvc = userSvc;
     this.packageOwnerRequestRepository = packageOwnerRequestRepository;
     this.messageSvc = messageService;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="LicenseViewModel" /> class.
        /// </summary>
        /// <param name="licenseInfo">The single license model.</param>
        /// <param name="navigationService">The navigation service.</param>
        /// <param name="processService">The process service.</param>
        /// <param name="licenseService">The license service.</param>
        /// <param name="licenseValidationService">The license validation service.</param>
        /// <param name="uiVisualizerService">The uiVisualizer service.</param>
        /// <param name="messageService">The message service.</param>
        /// <exception cref="ArgumentNullException">The <paramref name="licenseInfo" /> is <c>null</c>.</exception>
        /// <exception cref="ArgumentNullException">The <paramref name="navigationService" /> is <c>null</c>.</exception>
        /// <exception cref="ArgumentNullException">The <paramref name="processService" /> is <c>null</c>.</exception>
        /// <exception cref="ArgumentNullException">The <paramref name="licenseService" /> is <c>null</c>.</exception>
        /// <exception cref="ArgumentNullException">The <paramref name="uiVisualizerService" /> is <c>null</c>.</exception>
        public LicenseViewModel(LicenseInfo licenseInfo, INavigationService navigationService, IProcessService processService,
            ILicenseService licenseService, ILicenseValidationService licenseValidationService, IUIVisualizerService uiVisualizerService, 
            IMessageService messageService)
        {
            Argument.IsNotNull(() => licenseInfo);
            Argument.IsNotNull(() => navigationService);
            Argument.IsNotNull(() => processService);
            Argument.IsNotNull(() => licenseService);
            Argument.IsNotNull(() => licenseValidationService);
            Argument.IsNotNull(() => uiVisualizerService);
            Argument.IsNotNull(() => messageService);

            _navigationService = navigationService;
            _processService = processService;
            _licenseService = licenseService;
            _licenseValidationService = licenseValidationService;
            _uiVisualizerService = uiVisualizerService;
            _messageService = messageService;

            LicenseInfo = licenseInfo;
            Title = licenseInfo.Title;

            XmlData = new ObservableCollection<XmlDataModel>();

            Paste = new TaskCommand(OnPasteExecuteAsync);
            ShowClipboard = new Command(OnShowClipboardExecute);
            PurchaseLinkClick = new Command(OnPurchaseLinkClickExecute);
            AboutSiteClick = new Command(OnAboutSiteClickExecute);
            RemoveLicense = new TaskCommand(OnRemoveLicenseExecuteAsync, OnRemoveLicenseCanExecute);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="EmployeesViewModel"/> class.
        /// </summary>
        public EmployeesViewModel(IMessageMediator messageMediator, IUIVisualizerService uiVisualizerService, IEmployeeRepository employeeRepository,
            IMessageService messageService)
            : base(messageMediator)
        {
            Argument.IsNotNull(() => uiVisualizerService);
            Argument.IsNotNull(() => employeeRepository);
            Argument.IsNotNull(() => messageService);

            _uiVisualizerService = uiVisualizerService;
            _employeeRepository = employeeRepository;
            _messageService = messageService;

            AddEmployee = new Command(OnAddEmployeeExecute);
            EditEmployee = new Command(OnEditEmployeeExecute, OnEditEmployeeCanExecute);
            DeleteEmployee = new Command(OnDeleteEmployeeExecute, OnDeleteEmployeeCanExecute);

            Employees = new FastObservableCollection<IEmployee>();
            if (!ObjectHelper.IsNull(SelectedDepartment))
            {
                Employees.AddRange(EmployeeRepository.GetAllEmployees(SelectedDepartment.Name));
            }

            if (Employees.Count > 0)
            {
                SelectedEmployee = Employees[0];
            }

            Mediator.Register<string>(this, OnSelectedDepartmentUpdated, "UpdateEmployees");
        }
 public PackagesController(
     IPackageService packageService,
     IUploadFileService uploadFileService,
     IMessageService messageService,
     ISearchService searchService,
     IAutomaticallyCuratePackageCommand autoCuratedPackageCmd,
     IPackageFileService packageFileService,
     IEntitiesContext entitiesContext,
     IAppConfiguration config,
     IIndexingService indexingService,
     ICacheService cacheService,
     EditPackageService editPackageService,
     IPackageDeleteService packageDeleteService,
     ISupportRequestService supportRequestService,
     AuditingService auditingService)
 {
     _packageService = packageService;
     _uploadFileService = uploadFileService;
     _messageService = messageService;
     _searchService = searchService;
     _autoCuratedPackageCmd = autoCuratedPackageCmd;
     _packageFileService = packageFileService;
     _entitiesContext = entitiesContext;
     _config = config;
     _indexingService = indexingService;
     _cacheService = cacheService;
     _editPackageService = editPackageService;
     _packageDeleteService = packageDeleteService;
     _supportRequestService = supportRequestService;
     _auditingService = auditingService;
 }
Exemple #30
0
            public AdvancedDependencyInjectionTestClass(int intValue, IMessageService messageService, INavigationService navigationService)
            {
                Argument.IsNotNull(() => messageService);
                Argument.IsNotNull(() => navigationService);

                IntValue = intValue;
            }
 public MessageController(IMessageService messageService)
 {
     _messageService = messageService;
 }
Exemple #32
0
 //MessageWithRecipient mss;
 protected void Page_Load(object sender, EventArgs e)
 {
     _messageService = new MessageService();
     _view           = new ReadMessagePresenter();
     _view.Init(this);
 }
 public MessagesController(IMessageService messageService, IDatabaseService databaseService)
 {
     MessageService  = messageService;
     DatabaseService = databaseService;
 }
 public static CreateMessageResult SendOrderPlacedStoreOwnerNotification(this IMessageService factory, Order order, int languageId = 0)
 {
     return(factory.CreateMessage(MessageContext.Create(MessageTemplateNames.OrderPlacedStoreOwner, languageId, order.StoreId), true, order, order.Customer));
 }
 public MessagesController(IMessageService messageService)
 {
     this.messageService = messageService;
 }
 /// <summary>
 /// Injector Constructor
 /// </summary>
 /// <param name="messageService">Message Service</param>
 public MessageController(IMessageService messageService) : base(messageService)
 {
     this._messageService = messageService;
 }
Exemple #37
0
 public MessageHandler(IChatService chatService, IMessageService messageService, ILogger <MessageHandler> logger)
 {
     _chatService    = chatService;
     _messageService = messageService;
     _logger         = logger;
 }
 public ContactUsController(IUnitOfWork uow, IMessageService messageService)
 {
     _uow            = uow;
     _messageService = messageService;
 }
 public AuthenticationService(IMessageService service)
 {
     this.msgService = service;
 }
 public GönderilenMesajlarViewComponent(IMessageService messageService)
 {
     _messageService = messageService;
 }
Exemple #41
0
 public MessageController(IMessageService service)
 {
     this.service = service;
 }
 public ChatHub(IMessageService messageService, IUnitOfWork unitOfWork, IConversationService conversationService)
 {
     _conversationService = conversationService;
     _messageService      = messageService;
     _unitOfWork          = unitOfWork;
 }
 // GET: Offer
 public DialogController(IDialogService dialogService, IMessageService messageService, IUserProfileService userProfileService)
 {
     this.messageService     = messageService;
     this.dialogService      = dialogService;
     this.userProfileService = userProfileService;
 }
Exemple #44
0
 public MessagesApiController(IMessageService messageService, IMapper mapper, IUriService uriService)
 {
     _messageService = messageService;
     _mapper         = mapper;
     _uriService     = uriService;
 }
        public FamilyWindowViewModel(Family family, IUIVisualizerService uiVisualizerService, IMessageService messageService)
        {
            Argument.IsNotNull(() => family);
            Argument.IsNotNull(() => uiVisualizerService);
            Argument.IsNotNull(() => messageService);

            Family = family;
            this.uiVisualizerService = uiVisualizerService;
            this.messageService      = messageService;

            AddPerson    = new TaskCommand(OnAddPersonExecuteAsync);
            EditPerson   = new TaskCommand(OnEditPersonExecuteAsync, OnEditPersonCanExecute);
            RemovePerson = new TaskCommand(OnRemovePersonExecuteAsync, OnRemovePersonCanExecute);
        }
Exemple #46
0
 public ContentHandlers(IMessageService messagingService)
 {
     _messagingService = messagingService;
 }
Exemple #47
0
 public BuildCellDetalhes()
 {
     this._messageService =
         DependencyService.Get <IMessageService>();
 }
Exemple #48
0
 /// <summary>
 /// Initializes a new instance of the
 /// <see cref="T:AgentFramework.Core.Handlers.Internal.DefaultTrustPingMessageHandler"/> class.
 /// </summary>
 /// <param name="eventAggregator">Event aggregator.</param>
 /// <param name="messageService">Message service.</param>
 public DefaultTrustPingMessageHandler(IEventAggregator eventAggregator, IMessageService messageService)
 {
     _eventAggregator = eventAggregator;
     _messageService  = messageService;
 }
 public NewEmployeeController(IMessageService messageService, ILocalSADService localSADService)
 //: base(newEmployeeService)
 {
     _messageService  = messageService;
     _localSADService = localSADService;
 }
 public HomeController(IMessageService messageService, IUserService userService)
 {
     _messageService = messageService;
     _userService    = userService;
 }
Exemple #51
0
 public GetAllCurrenciesAction(IMessageSender <TelegramMessage> messageSender, IMessageService messageService,
                               ICurrencyService currencyService)
     : base(messageSender)
 {
     _messageService  = messageService;
     _currencyService = currencyService;
 }
Exemple #52
0
 public PingCalledHandler(IMessageService messages)
 {
     this.messages = messages;
 }
        public MessageDialogService(IUIVisualizerService uIVisualizerService, ITypeFactory typeFactory, IMessageService messageService,
                                    ISynchronousUiVisualizer synchronousUiVisualizer)
        {
            Argument.IsNotNull(() => uIVisualizerService);
            Argument.IsNotNull(() => typeFactory);
            Argument.IsNotNull(() => messageService);
            Argument.IsNotNull(() => synchronousUiVisualizer);

            _uIVisualizerService = uIVisualizerService;
            _typeFactory         = typeFactory;

            _syncUiVisualizer = synchronousUiVisualizer;
        }
Exemple #54
0
 public AddBlogEntryCommentCommandHandler(IRepository repository, IMessageService messageService)
 {
     this.repository     = repository;
     this.messageService = messageService;
 }
Exemple #55
0
 public ChatHub(IChatRoomService chatRoomService, IMessageService messageService)
 {
     _chatRoomService = chatRoomService;
     _messageService  = messageService;
 }
Exemple #56
0
        public MainWindowViewModel(ICommandCenterService commandCenterService, IConfigService configService, IMessageService messageService, IShutdownService shutdownService, IWindowService windowService)
        {
            this.commandCenterService = commandCenterService;
            this.configService        = configService;
            this.messageService       = messageService;
            this.shutdownService      = shutdownService;
            this.windowService        = windowService;

            Initialize();
        }
Exemple #57
0
 public ClassWithSeveralMatchesForDependencyInjection(IMessageMediator messageMediator, IMessageService messageService)
 {
     IsRightConstructorUsed = true;
 }
 public ViewAViewModel(IRegionManager regionManager, IMessageService messageService) :
     base(regionManager)
 {
     Message = messageService.GetMessage();
 }
Exemple #59
0
 public ClassWithSeveralMatchesForDependencyInjection(IUIVisualizerService uiVisualizerService, IMessageService messageService)
 {
 }
 public MerchantController(IOpenShopService iOpenShopService, IShopAttributesService iShopAttributesServiceService, ICustomerService iCustomerService, IMessageService messageService,
                           IMissionService missionService, IHotareaService hotareaService, IObjectService objectService)
 {
     _iShopAttributesService = iShopAttributesServiceService;
     _iOpenShopService       = iOpenShopService;
     _iCustomerService       = iCustomerService;
     _messageService         = messageService;
     _missionService         = missionService;
     _hotareaService         = hotareaService;
     _objectService          = objectService;
 }