コード例 #1
0
        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
        }
コード例 #2
0
 public ModelToViewAdapter(GetViewCommand view)
 {
     this.getView = view;
 }