Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LogsControl"/> class.
 /// </summary>
 public LogsControl()
 {
     this.InitializeComponent();
     this._presenter = new LogOverviewPresenter(this, new WebApiClientFactory());
     this.LogsNameListBox.ItemsSource = this._currentLogs;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LogsWrapper"/> class.
 /// </summary>
 /// <param name="factory">The factory.</param>
 public LogsWrapper(IRestClientFactory factory)
 {
     this._overviewPresenter = new LogOverviewPresenter(this._overviewView, factory);
     this._detailPresenter   = new LogDetailPresenter(this._detailView, factory);
 }