C# Class Microsoft.Azure.Commands.ResourceManager.Cmdlets.Utilities.FileUtility

The file utility.
ファイルを表示 Open project: Azure/azure-powershell

Public Methods

Method Description
SaveTemplateFile ( string templateName, string contents, string outputPath, bool overwrite, Func shouldContinue ) : string

Saves a template file into specific directory.

Method Details

SaveTemplateFile() public static method

Saves a template file into specific directory.
public static SaveTemplateFile ( string templateName, string contents, string outputPath, bool overwrite, Func shouldContinue ) : string
templateName string The template name
contents string The template contents
outputPath string The file output path
overwrite bool Overrides existing file
shouldContinue Func The confirmation action
return string