Exemple #1
0
        public IChildView GetDatabaseTracesView()
        {
            var view = new TracesView {
                TabHeader = "Database Traces"
            };

            view.SetServices(new TraceServices(new SQLRepository()));
            return(view);
        }
Exemple #2
0
        public IChildView GetMemoryTracesView(IReadableRepository repo)
        {
            var view = new TracesView
            {
                TabHeader = "Memory Traces"
            };

            view.SetServices(new TraceServices(repo));
            return(view);
        }
Exemple #3
0
        public IChildView GetFileTracesView(string fileName)
        {
            var view = new TracesView
            {
                TabHeader = "File Traces"
            };

            view.SetServices(new TraceServices(new FileRepository(fileName)));
            return(view);
        }