/// <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());
        }
Esempio n. 2
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public static IUnityContainer GetUnityContainer(this HttpApplication application)
 {
     return(UnityAdapter.GetContainer());
 }