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

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

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