public static void RegisterInstance(this IFrameworkAdapter container, object instance) { container.RegisterInstance(instance.GetType(), instance); }
public static void RegisterInstance <TService>(this IFrameworkAdapter container, TService instance) { container.RegisterInstance(typeof(TService), instance); }