示例#1
0
        public DomainLogView(LocalEventStore eventStore, SimpleMessageSender endpoint, IEnvelopeStreamer serializer)
        {
            InitializeComponent();

            _client = eventStore;

            _services = new ShellServices(endpoint);
            _serializer = serializer;

            _log.BackColor = CommonColors.Solarized.Base03;
            _log.ForeColor = CommonColors.Solarized.Base0;

            _display.BackColor = CommonColors.Solarized.Base3;
            _display.ForeColor = CommonColors.Solarized.Base00;

            _detailsLabel.BackColor = CommonColors.Solarized.Base2;
            _detailsLabel.ForeColor = CommonColors.Solarized.Base01;
        }
示例#2
0
        public DomainLogView(LocalEventStore eventStore, SimpleMessageSender endpoint, IEnvelopeStreamer serializer)
        {
            InitializeComponent();

            _client = eventStore;

            _services = new ShellServices(endpoint);
            _serializer = serializer;

            _log.BackColor = CommonColors.Solarized.Base03;
            _log.ForeColor = CommonColors.Solarized.Base0;

            _display.BackColor = CommonColors.Solarized.Base3;
            _display.ForeColor = CommonColors.Solarized.Base00;

            _detailsLabel.BackColor = CommonColors.Solarized.Base2;
            _detailsLabel.ForeColor = CommonColors.Solarized.Base01;

            var control = new RepopulateView(serializer, eventStore, _services) {Dock = DockStyle.Fill};
            viewsTab.Controls.Add(control);
        }
 public DomainQueryManager(IEnvelopeStreamer serializer, LocalEventStore store, ShellServices services)
 {
     _serializer = serializer;
     _store = store;
     _services = services;
 }
示例#4
0
 public DomainQueryManager(IEnvelopeStreamer serializer, LocalEventStore store, ShellServices services)
 {
     _serializer = serializer;
     _store      = store;
     _services   = services;
 }