public static void AddTransient(this IDynamicServiceProvider provider, Type serviceType, Type implementationType, Func <IServiceProvider, object> implementationFactory)
 {
     provider.AddService(serviceType, implementationType, implementationFactory, true, null);
 }
 public static void AddSingleton <TImplementation>(this IDynamicServiceProvider provider, TImplementation implementation)
 {
     provider.AddService(typeof(TImplementation), typeof(TImplementation), null, false, implementation);
 }
 public static void AddSingleton(this IDynamicServiceProvider provider, Type serviceType, Type implementationType)
 {
     provider.AddService(serviceType, implementationType, null, false, null);
 }
 public static void AddSingleton(this IDynamicServiceProvider provider, object implementation)
 {
     provider.AddService(null, null, null, false, implementation);
 }
 public static void AddSingleton(this IDynamicServiceProvider provider, Type serviceType, Type implementationType, Func <IServiceProvider, object> implementationFactory)
 {
     provider.AddService(serviceType, implementationType, implementationFactory, false, null);
 }