Exemplo n.º 1
0
        public void Load(IStaticDataManager staticDataManager, IHelpRepository helpRepository)
        {
            Dictionary <string, Definition> helps =
                staticDataManager.GetStaticData(Globals.SystemTypes.HelpLookup);

            // TODO Do something here
        }
Exemplo n.º 2
0
 public HelpViewModel(IMessenger messenger, ILog log, IHelpRepository helpRepository, string initialTopic)
 {
     messenger.Register <ShowHelp>(OnHelpRequested);
     this.log            = log;
     this.helpRepository = helpRepository;
     this.initialTopic   = initialTopic;
 }
Exemplo n.º 3
0
 public DataService(
     IClientRepository client,
     IOrgRepository org,
     ICostRepository cost,
     IDryBoxRepository dryBox,
     IAccountRepository account,
     IRoomRepository room,
     IActiveLogRepository activeLog,
     IServiceLogRepository serviceLog,
     IHolidayRepository holiday,
     IFeedRepository feed,
     IHelpRepository help,
     IGlobalSettingRepository globalSetting,
     IMenuRepository menu,
     INewsRepository news)
 {
     Client        = client;
     Org           = org;
     Cost          = cost;
     DryBox        = dryBox;
     Account       = account;
     Room          = room;
     ActiveLog     = activeLog;
     ServiceLog    = serviceLog;
     Holiday       = holiday;
     Feed          = feed;
     Help          = help;
     GlobalSetting = globalSetting;
     Menu          = menu;
     News          = news;
 }
Exemplo n.º 4
0
        public HelpService(
            IHelpRepository helpRepository,
            IMapper mapper)
        {
            _helpRepository = helpRepository;

            _mapper = mapper;
        }
Exemplo n.º 5
0
        public HelpView(IMessenger messenger, ILog log, IHelpRepository helpRepository, string initialTopic)
        {
            InitializeComponent();

            this.viewModel = new HelpViewModel(messenger, log, helpRepository, initialTopic);
            this.webBrowser1.Bind(_ => _.DocumentText, this.viewModel, _ => _.Content);

            this.webBrowser1.Navigating += OnNavigating;

            this.messenger = messenger;
            this.messenger.Register <ShowHelp>(m => {
                this.VisibleState = DockState.DockRight;
            });


            this.Shown += (s, e) =>
            {
                this.viewModel.Initialize();
            };
        }
 public HelpController(IHelpRepository helpRepository)
 {
     _helpRepository = helpRepository;
 }
Exemplo n.º 7
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="helpRepository"></param>
 /// <param name="helpLoader"></param>
 public HelpManager(IHelpRepository helpRepository, IHelpLoader helpLoader)
 {
     HelpRepository = helpRepository;
     HelpLoader     = helpLoader;
 }