Chinchilla.Integration.Features.MessageTypeFactories.CastleMessageTypeFactory.GetTypeFactory C# (CSharp) Method

GetTypeFactory() public method

public GetTypeFactory ( Type key ) : Func
key System.Type
return Func
        public Func<object> GetTypeFactory(Type key)
        {
            return () => generator.CreateInterfaceProxyWithoutTarget(key, new BasicInterceptor());
        }
CastleMessageTypeFactory