/// <summary> /// Extension method to acquire the internal UnityContainer /// </summary> /// <param name="application"></param> public static IUnityContainer GetUnityContainer(this HttpApplication application) { if (application == null) { throw new ArgumentNullException(nameof(application)); } return(UnityAdapter.GetContainer()); }
/// <summary> /// /// </summary> /// <returns></returns> public static IUnityContainer GetUnityContainer(this HttpApplication application) { return(UnityAdapter.GetContainer()); }