ReplacementRule Class

Summary

Items to replace during a synchronization operation.
Namespace
Cake.MsDeploy.Rules
Interfaces
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["IMsDeployArgument"]-.->Type click Interface0 "/Cake.MsDeploy/api/Cake.MsDeploy/IMsDeployArgument" Type["ReplacementRule"] class Type type-node

Syntax

public class ReplacementRule : IMsDeployArgument

Properties

Name Value Summary
Match string
Optional text to find that matches the regular expression
ObjectName string
Returns the deployment objects that have names that match the regular expression
ScopeAttributeName string
Returns only the objects that have one or more attribute names that match the regular expression
ScopeAttributeValue string
Returns only objects that have an attribute with a value that matches the regular expression
TargetAttributeName string
The attribute name or names where the replace rule will apply. I
Value string
Replaces the values specified with this value

Methods

Name Value Summary
AppendCommandLineArgument(StringBuilder) void
Converts the object into its MSDeploy command line equivalent and Appends it to the stringbuilder
ToCommandLineArgument() string
Converts the SetParameter into its commmand line argument