ReplaceKeyExtensions.

ReplaceKey(ICakeContext, string, string, string) Method

Summary

This method will search for files in the given searchPath and replace any key found with the given new value

Syntax

public static void ReplaceKey(this ICakeContext context, string key, string newValue, string searchPath)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The Cake Context
key string The key to be replaced
newValue string The new value to replace key with
searchPath string The search path may include globbing wildcards

Return Value

Type Description
void