public IChildView GetDatabaseTracesView() { var view = new TracesView { TabHeader = "Database Traces" }; view.SetServices(new TraceServices(new SQLRepository())); return(view); }
public IChildView GetMemoryTracesView(IReadableRepository repo) { var view = new TracesView { TabHeader = "Memory Traces" }; view.SetServices(new TraceServices(repo)); return(view); }
public IChildView GetFileTracesView(string fileName) { var view = new TracesView { TabHeader = "File Traces" }; view.SetServices(new TraceServices(new FileRepository(fileName))); return(view); }