/// <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); }
/// <summary> /// Adds a <see cref="InProcDistributionStrategyNode"/> as the default node. /// </summary> protected override void AddDefaultChildNodes() { base.AddDefaultChildNodes(); InProcDistributionStrategyNode node = new InProcDistributionStrategyNode(); Nodes.AddWithDefaultChildren(node); }
/// <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); }
/// <summary> /// Adds a <see cref="DistributionStrategyCollectionNode"/>. /// </summary> protected override void AddDefaultChildNodes() { base.AddDefaultChildNodes(); DistributionStrategyCollectionNode node = new DistributionStrategyCollectionNode(loggingSettings.DistributionStrategies); Nodes.AddWithDefaultChildren(node); this.ResolveNodeReferences(); }
/// <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); }
// private void AddDefaultConnectionStringCollectionNode() // { // ConnectionStringCollectionNode node = new ConnectionStringCollectionNode(databaseSettings.ConnectionStrings); // Nodes.AddWithDefaultChildren(node); // } private void AddDefaultDynamicQueryTypeCollectionNode() { DatabaseTypeCollectionNode node = new DatabaseTypeCollectionNode(dynamicQuerySettings.DatabaseTypes); Nodes.AddWithDefaultChildren(node); }
private void AddDefaultInstanceNode() { InstanceCollectionNode node = new InstanceCollectionNode(dynamicQuerySettings.Instances); Nodes.AddWithDefaultChildren(node); }
private void AddDefaultConnectionStringCollectionNode() { ConnectionStringCollectionNode node = new ConnectionStringCollectionNode(databaseSettings.ConnectionStrings); Nodes.AddWithDefaultChildren(node); }
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); }
private void AddDefaultParameter(ParameterData data) { ParameterNode node = new ParameterNode(data); Nodes.AddWithDefaultChildren(node); }