C# Класс CloudInit.Modules.PowershellIncludeModule

Powershell module that downloads a list of scripts and executes each one in order
Наследование: CloudInit.Modules.Core.PowershellModuleBase
Показать файл Открыть проект

Открытые методы

Метод Описание
Execute ( String input ) : String

Executes the script

Защищенные методы

Метод Описание
DownloadFile ( String url ) : Byte[]

Downloads a file from an http endpoint

ReadContent ( Byte content ) : String

Reads the contents of the file.

Описание методов

DownloadFile() защищенный Метод

Downloads a file from an http endpoint
protected DownloadFile ( String url ) : Byte[]
url String Location of the file to be downloaded
Результат Byte[]

Execute() публичный Метод

Executes the script
public Execute ( String input ) : String
input String Input file to execute
Результат String

ReadContent() защищенный Метод

Reads the contents of the file.
protected ReadContent ( Byte content ) : String
content Byte The content of the file downloaded
Результат String