Be.Stateless.Dsl.Configuration.Cmdlets.xml
<?xml version="1.0"?>
<doc> <assembly> <name>Be.Stateless.Dsl.Configuration.Cmdlets</name> </assembly> <members> <member name="T:Be.Stateless.Dsl.Configuration.Cmdlet.AddConfigurationElement"> <summary> Adds a configuration element. </summary> <example> <code> PS> Add-ConfigurationElement -TargetConfigurationFile global:machine.config -XPath '/configuration/appSettings' -ElementName 'add' -Attributes @{ key = 'setting1'; value = 'value1' } </code> </example> <example> <code> PS> Add-ConfigurationElement -TargetConfigurationFile global:machine.config -XPath '/configuration' -ElementName 'element' -Attributes @{ '{urn:custom:namespace}attribute' = 'setting1' } </code> </example> </member> <member name="T:Be.Stateless.Dsl.Configuration.Cmdlet.MergeConfigurationSpecification"> <summary> Merges specification file(s) to one ore more configuration files. </summary> <example> <code> PS> Merge-ConfigurationSpecification -Path ./machine.config </code> </example> </member> <member name="T:Be.Stateless.Dsl.Configuration.Cmdlet.RemoveConfigurationElement"> <summary> Removes an existing configuration element. </summary> <example> <code> PS> Remove-ConfigurationElement -TargetConfigurationFile global:machine.config -XPath "/configuration/appSettings/add[@key='setting1']" </code> </example> <example> <code> PS> Remove-ConfigurationElement -TargetConfigurationFile global:machine.config -XPath '/configuration/element' </code> </example> </member> <member name="T:Be.Stateless.Dsl.Configuration.Cmdlet.SetConfigurationElement"> <summary> Set the attributes of an existing configuration element. </summary> <example> <code> PS> Set-ConfigurationElement -TargetConfigurationFile global:machine.config -XPath "/configuration/appSettings/add[@key='setting1']" -Attributes @{ value = 'value1' } </code> </example> <example> <code> PS> Set-ConfigurationElement -TargetConfigurationFile global:machine.config -XPath '/configuration/element' -Attributes @{ '{urn:custom:namespace}attribute' = 'setting1' } </code> </example> </member> </members> </doc> |