private void RepositoryOnInitialized(object sender, RepositoryInitializedEventArgs e) { View.ClearResult(); View.ClearErrorDetails(); InitializeFilterValues(); }
public void Ctor_SetsDirectory() { // act var args = new RepositoryInitializedEventArgs(FakeLogsDirectory, 10); // assert Assert.That(args.Directory, Is.EqualTo(FakeLogsDirectory)); }
public void Ctor_SetsTotalNumberOfLogs() { // act var args = new RepositoryInitializedEventArgs(FakeLogsDirectory, 10); // assert Assert.That(args.TotalNumberOfLogs, Is.EqualTo(10)); }
private void RepositoryOnInitialized(object sender, RepositoryInitializedEventArgs e) { if (OnDataSourceInitialized != null) { OnDataSourceInitialized(this, new EventArgs()); } }