示例#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);
        }
示例#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);
        }