protected void GetViewCommandHandler(GetViewCommand cmd) { #if PERFORMANCE_TEST var ptest = Service.Performance.PerformanceTest.Get(); ptest.Start("GetViewCommand"); #endif cmd.result = _service.GetView(cmd.viewName); #if PERFORMANCE_TEST // now stop the watches ptest.Stop("GetViewCommand"); #endif }
public ModelToViewAdapter(GetViewCommand view) { this.getView = view; }