コード例 #1
0
        /// <include file='Mock.xdoc' path='docs/doc[@for="Mock.ctor"]/*'/>
        protected Mock()
        {
            this.ImplementedInterfaces = new List <Type>();
            this.InnerMocks            = new Dictionary <MethodInfo, Mock>();

#if NETFX_CORE
            MoqRTRuntime.MockInstantiated(this);
#endif
        }
コード例 #2
0
        private object GetBakedProxy()
        {
            string key = this.ProxyKey;

            return(MoqRTRuntime.GetBakedProxy(key, new ProxyInterceptor(this.Interceptor), new object[] {}));
        }