Beispiel #1
0
        public static InstanceFactory CreateInstanceFactory(RawRabbitOptions options, IDependencyRegister register, Func <IDependencyRegister, IDependencyResolver> resolverFunc)
        {
            register.AddRawRabbit(options);
            var resolver = resolverFunc(register);

            return(new InstanceFactory(resolver));
        }