public virtual void RegisterTypeProxyFactory(Type originalObjectType, ITypeProxyFactory proxyFactory)
        {
            if (_proxyFactories == null)
                _proxyFactories = new TypeRegistry<ITypeProxyFactory>();

            _proxyFactories[originalObjectType] = proxyFactory;
        }
Example #2
0
 public virtual void RegisterTypeProxyFactory(Type targetType, ITypeProxyFactory factory)
 {
     _proxyFactories             = _proxyFactories ?? new TypeRegistry <ITypeProxyFactory>();
     _proxyFactories[targetType] = factory;
 }
 public override void RegisterTypeProxyFactory(Type targetType, ITypeProxyFactory factory)
 {
     base.RegisterTypeProxyFactory(targetType, factory);
 }
Example #4
0
 public virtual void RegisterTypeProxyFactory(Type targetType, ITypeProxyFactory factory)
 {
     _proxyFactories = _proxyFactories ?? new TypeRegistry<ITypeProxyFactory>();
     _proxyFactories[targetType] = factory;
 }