/// <summary>
 /// Инициализирует экземпляр <see cref="ProxyTypeGeneratorFacade"/>.
 /// </summary>
 public ProxyTypeGeneratorFacade(ProxyAssembly proxyAssembly)
 {
     _proxyAssembly = proxyAssembly;
 }
Exemplo n.º 2
0
        /// <summary>
        /// Инициализирует экземпляр <see cref="ProxyGenerator"/>.
        /// </summary>
        private ProxyGenerator()
        {
            var proxyAssembly = new ProxyAssembly(prefix: "DynamicIvorySharp", MethodLinkStore);

            _proxyTypeCache = new ProxyTypeCache(new ProxyTypeGeneratorFacade(proxyAssembly));
        }