Defines configuration settings for Ninject.
Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="NinjectManager"/> class.
        /// </summary>
        /// <param name="configuration">The configuration.</param>
        /// <remarks></remarks>
        public NinjectManager(NinjectConfiguration configuration)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException("configuration");
            }

            _Configuration = configuration;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="NinjectManager"/> class.
        /// </summary>
        /// <param name="configuration">The configuration.</param>
        /// <remarks></remarks>
        public NinjectManager(NinjectConfiguration configuration)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException("configuration");
            }

            _Configuration = configuration;
        }