Пример #1
0
        /// <summary>
        /// <para>
        /// Add the default child nodes for the current node.
        /// </para>
        /// </summary>
        /// <remarks>
        /// <para>
        /// This will add the default database type nodes.
        /// </para>
        /// </remarks>
        protected override void AddDefaultChildNodes()
        {
            base.AddDefaultChildNodes();
            DatabaseTypeNode node = new DatabaseTypeNode(new DatabaseTypeData(SR.DefaultDatabaseTypeName, typeof(SqlDatabase).AssemblyQualifiedName));

            Nodes.AddWithDefaultChildren(node);
        }
Пример #2
0
        /// <summary>
        /// Adds a <see cref="InProcDistributionStrategyNode"/> as the default node.
        /// </summary>
        protected override void AddDefaultChildNodes()
        {
            base.AddDefaultChildNodes();
            InProcDistributionStrategyNode node = new InProcDistributionStrategyNode();

            Nodes.AddWithDefaultChildren(node);
        }
Пример #3
0
        /// <summary>
        /// Adds default nodes for managers and storages.
        /// </summary>
        protected override void AddDefaultChildNodes()
        {
            base.AddDefaultChildNodes();
            CacheManagerCollectionNode node = new CacheManagerCollectionNode(this.cacheManagerSettings.CacheManagers);

            Nodes.AddWithDefaultChildren(node);
        }
Пример #4
0
        /// <summary>
        /// Adds a <see cref="DistributionStrategyCollectionNode"/>.
        /// </summary>
        protected override void AddDefaultChildNodes()
        {
            base.AddDefaultChildNodes();
            DistributionStrategyCollectionNode node = new DistributionStrategyCollectionNode(loggingSettings.DistributionStrategies);

            Nodes.AddWithDefaultChildren(node);
            this.ResolveNodeReferences();
        }
Пример #5
0
        /// <summary>
        /// Adds the following nodes: <see cref="SinkCollectionNode"/>, <see cref="FormatterCollectionNode"/>, and <see cref="CategoryCollectionNode"/>.
        /// </summary>
        protected override void AddDefaultChildNodes()
        {
            base.AddDefaultChildNodes();
            SinkCollectionNode sinksNode = new SinkCollectionNode();

            Nodes.AddWithDefaultChildren(sinksNode);
            FormatterCollectionNode fomattersNode = new FormatterCollectionNode();

            Nodes.AddWithDefaultChildren(fomattersNode);
            CategoryCollectionNode cateogoriesNode = new CategoryCollectionNode();

            Nodes.AddWithDefaultChildren(cateogoriesNode);
        }
Пример #6
0
//		private void AddDefaultConnectionStringCollectionNode()
//		{
//			ConnectionStringCollectionNode node = new ConnectionStringCollectionNode(databaseSettings.ConnectionStrings);
//			Nodes.AddWithDefaultChildren(node);
//		}

        private void AddDefaultDynamicQueryTypeCollectionNode()
        {
            DatabaseTypeCollectionNode node = new DatabaseTypeCollectionNode(dynamicQuerySettings.DatabaseTypes);

            Nodes.AddWithDefaultChildren(node);
        }
Пример #7
0
        private void AddDefaultInstanceNode()
        {
            InstanceCollectionNode node = new InstanceCollectionNode(dynamicQuerySettings.Instances);

            Nodes.AddWithDefaultChildren(node);
        }
Пример #8
0
        private void AddDefaultConnectionStringCollectionNode()
        {
            ConnectionStringCollectionNode node = new ConnectionStringCollectionNode(databaseSettings.ConnectionStrings);

            Nodes.AddWithDefaultChildren(node);
        }
Пример #9
0
        private void CreateDefaultConnectionStringNode()
        {
            ConnectionStringNode node = new ConnectionStringNode(new ConnectionStringData(SR.DefaultNewConnectionStringName));

            Nodes.AddWithDefaultChildren(node);
        }
        private void CreateDefaultPackagesNode()
        {
            OraclePackageNode node = new OraclePackageNode();

            Nodes.AddWithDefaultChildren(node);
        }
        private void CreateDefaultParameterNode()
        {
            ParameterNode node = new ParameterNode(new ParameterData(SR.DefaultServerParameterName, SR.DefaultServerParameterName));

            Nodes.AddWithDefaultChildren(node);
        }
Пример #12
0
        private void AddDefaultParameter(ParameterData data)
        {
            ParameterNode node = new ParameterNode(data);

            Nodes.AddWithDefaultChildren(node);
        }