CakeArgumentsExtensions.

GetArgument(ICakeArguments, string) Method

Summary

Gets the value for an argument.
Namespace
Cake.Core
Containing Type
CakeArgumentsExtensions

Syntax

public static string GetArgument(this ICakeArguments arguments, string name)

Remarks

If multiple arguments with the same name are specified, the last argument value is returned.

Parameters

Name Type Description
arguments ICakeArguments The arguments.
name string The argument name.

Return Value

Type Description
string The argument value.