Ejemplo n.º 1
0
        /// <summary>
        /// Add Poetry UI to your application. Don't forget calling .Done() when you're done configuring!
        /// </summary>
        /// <param name="application"></param>
        /// <returns></returns>
        public static PoetryConfigurator AddPoetryUI(this HttpApplication application)
        {
            var configurator = new PoetryConfigurator(new UnityContainer());

            configurator.AddAssembly(Assembly.GetCallingAssembly());

            return(configurator);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Add Poetry UI to your application. Don't forget calling .Done() when you're done configuring!
        /// </summary>
        /// <param name="application"></param>
        /// <returns></returns>
        public static PoetryConfigurator AddPoetryUI(this HttpApplication application)
        {
            var configurator = new PoetryConfigurator(new UnityContainer());

            return(configurator);
        }