/// <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; }
/// <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); }