public static RabbitServiceDescriptor Create(Type serviceType, object instance)
 {
     return(Guarantee(serviceType, new RabbitServiceDescriptor(TypeKeyedUtilities.GetTypeKey(), instance)));
 }
 public static RabbitServiceDescriptor Create(Type serviceType, Func <IServiceProvider, object> factory, ServiceLifetime lifetime)
 {
     return(Guarantee(serviceType, new RabbitServiceDescriptor(TypeKeyedUtilities.GetTypeKey(), factory, lifetime)));
 }
 public static RabbitServiceDescriptor Create(Type serviceType, Type implementationType, ServiceLifetime lifetime)
 {
     return(Guarantee(serviceType, new RabbitServiceDescriptor(TypeKeyedUtilities.GetTypeKey(), implementationType, lifetime)));
 }