Defines configuration settings for Ninject.
Beispiel #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;
        }
Beispiel #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;
        }