상속: ILiaraConfiguration
예제 #1
0
        /// <summary>
        ///     Creates a new Liara Engine for applications.
        /// </summary>
        /// <param name="next" />
        /// <param name="configuration"></param>
        public LiaraMiddleware(AppFunc next, LiaraConfiguration configuration = null)
        {
            if (configuration == null)
                configuration = new LiaraConfiguration();

            engine = new LiaraEngine(configuration);
            this.next = next;
        }
예제 #2
0
        /// <summary>
        ///     Creates a new Liara Engine for applications.
        /// </summary>
        /// <param name="next" />
        /// <param name="configuration"></param>
        public LiaraMiddleware(AppFunc next, LiaraConfiguration configuration = null)
        {
            if (configuration == null)
            {
                configuration = new LiaraConfiguration();
            }

            engine    = new LiaraEngine(configuration);
            this.next = next;
        }