コード例 #1
0
        public ExceptionVsResult()
        {
            var ebr = new ExceptionBenchmarkRepository();
            var ebm = new ExceptionBenchmarkManager(ebr);

            _ebc = new ExceptionBenchmarkController(ebm);

            var rbr = new ResultBenchmarkRepository();
            var rbm = new ResultBenchmarkManager(rbr);

            _rbc = new ResultBenchmarkController(rbm);
        }
コード例 #2
0
 public ResultBenchmarkManager(ResultBenchmarkRepository repository)
 {
     _repository = repository;
 }