SkipDirective Class

Summary

Directive used to exclude objects from a sync operation, or it lets you use a skip rule to exclude actions from an operation.
Namespace
Cake.MsDeploy.Directives
Interfaces
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["IMsDeployArgument"]-.->Type click Interface0 "/Cake.MsDeploy/api/Cake.MsDeploy/IMsDeployArgument" Type["SkipDirective"] class Type type-node

Syntax

public class SkipDirective : IMsDeployArgument

Properties

Name Value Summary
AbsolutePath string
Regular expression that will be used to match the absolute path of the object
KeyAttribute string
Regular expression that will be used to match the value of the key attribute of the object.
ObjectName string
Regular expression that will be used to match the object name
SkipAction SkipAction?
Which action to skip
XPath string
XPath expression that identifies the object.

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 SkipDirective into its commmand line argument