Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DefaultViewService"/> class.
        /// </summary>
        public DefaultViewService(DefaultViewServiceOptions config, IViewLoader viewLoader)
        {
            if (config == null)
            {
                throw new ArgumentNullException("config");
            }
            if (viewLoader == null)
            {
                throw new ArgumentNullException("viewLoader");
            }

            this.config     = config;
            this.viewLoader = viewLoader;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultViewServiceRegistration"/> class.
 /// </summary>
 /// <param name="options">The options.</param>
 public DefaultViewServiceRegistration(DefaultViewServiceOptions options)
     : base(options)
 {
 }