Ejemplo n.º 1
0
        public MatrixApp(
            IConfiguration config,
            IJournalMonitorState state,
            LogJournalMonitor logMonitor,
            LiveJournalMonitor liveMonitor,
            IThumbNotifier notifier,
            IJournalParser parser,
            IMatrixAuthenticator authenticator,

            GameContextManager gameContext,
            LocationManager location,
            ShipManager ship,
            SessionManager session,

            HttpUploadClient client
            )
        {
            _config        = config;
            _state         = state;
            _logMonitor    = logMonitor;
            _liveMonitor   = liveMonitor;
            _notifier      = notifier;
            _parser        = parser;
            _authenticator = authenticator;

            _gameContext = gameContext;
            _location    = location;
            _ship        = ship;
            _session     = session;

            _client = client;
        }
Ejemplo n.º 2
0
        public LiveJournalReader(FileInfo file, IJournalParser parser)
        {
            File    = file;
            _parser = parser;

            Context = new JournalLogFileInfo(File);
        }
Ejemplo n.º 3
0
        public LogJournalReader(FileInfo file, IJournalParser parser)
        {
            File    = file;
            _parser = parser;
            _stream = new Lazy <StreamReader>(GetStreamReader);

            Context = ReadFileInfo();
        }
Ejemplo n.º 4
0
        public AssistantApp(
            IJournalMonitorState state,
            LiveJournalMonitor monitor,
            IThumbNotifier notifier,
            IJournalParser parser,
            AssistantMessageHub processor,
            StatusManager statusManager
            )
        {
            _state = state;

            _monitor  = monitor;
            _notifier = notifier;
            _parser   = parser;

            _processor     = processor;
            _statusManager = statusManager;
        }
Ejemplo n.º 5
0
 public JournalReaderFactory(IJournalParser parser)
 {
     _parser = parser;
 }
Ejemplo n.º 6
0
 public JournalEntrySource(IJournalParser parser, DateTimeOffset startTime, params IJournalLineSource[] lineSources)
 {
     _lineSources = lineSources;
     _parser      = parser;
     _startTime   = startTime;
 }