Exemplo n.º 1
0
        /// <summary>
        /// Registers an individual section configurator and add it to the internal collection
        /// </summary>
        /// <param name="nodeConfig">The section configurator to register.</param>
        public void RegisterSectionRewire(INodeConfigRewireBase nodeConfig)
        {
            if (nodeConfig == null)
            {
                throw new ArgumentNullException("nodeConfig");
            }

            this.sectionConfigurators.Add(nodeConfig.GetType().GetHashCode(), nodeConfig);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Registers an individual section configurator and add it to the internal collection
        /// </summary>
        /// <param name="nodeConfig">The section configurator to register.</param>
        public void RegisterSectionRewire(INodeConfigRewireBase nodeConfig)
        {
            if (nodeConfig == null)
            {
                throw new ArgumentNullException("nodeConfig");
            }

            this.sectionConfigurators.Add(nodeConfig.GetType().GetHashCode(), nodeConfig);
        }