public DynamicProxyCallBenchmark()
        {
            var creator = new DynamicProxyCreationBenchmark();

            _lightInjectInstance = creator.LightInjectCreation();
            _dynamicProxyInstance = creator.DynamicProxyCreation();
            _nproxyInstance = creator.NProxyCreation();
            _instance = creator.NoProxyConstructor();
        }
Exemplo n.º 2
0
        public DynamicProxyCallBenchmark()
        {
            var creator = new DynamicProxyCreationBenchmark();

            _lightInjectInstance  = creator.LightInjectCreation();
            _dynamicProxyInstance = creator.DynamicProxyCreation();
            _nproxyInstance       = creator.NProxyCreation();
            _instance             = creator.NoProxyConstructor();
        }