- Timestamp:
- 04/07/10 22:48:46 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/ConfigMerger/ConfigMerger.cs
r2725 r3284 46 46 XmlNode destinationNode; 47 47 48 sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/behaviors");48 #region Merge 'system.serviceModel/behaviors/*' 49 49 destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/behaviors"); 50 Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel"); 50 if (destinationNode == null) { 51 destinationNode = destination.CreateElement("behaviors"); 52 destination.SelectSingleNode("/configuration/system.serviceModel").AppendChild(destinationNode); 53 } 54 55 sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/behaviors/endpointBehaviors"); 56 destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/behaviors/endpointBehaviors"); 57 Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/behaviors"); 58 59 sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/behaviors/serviceBehaviors"); 60 destinationNode = destination.SelectSingleNode("/configuration/system.serviceModel/behaviors/serviceBehaviors"); 61 Merge(sourceNode, destinationNode, destination, "/configuration/system.serviceModel/behaviors"); 62 #endregion 51 63 52 64 sourceNode = source.SelectSingleNode("/configuration/system.serviceModel/services");
Note: See TracChangeset
for help on using the changeset viewer.