C# Класс CloudInit.Modules.Core.PowershellModuleBase

Base class to execute a powershell script
Наследование: IInputModule
Показать файл Открыть проект

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

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

Executes the script

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

Метод Описание
LogEvent ( Exception ex ) : void

Writes an entry to the event log if an event log object has been initialized

WriteOutput ( String output ) : void

Writes the output to the log file

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

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

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

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

Writes an entry to the event log if an event log object has been initialized
protected LogEvent ( Exception ex ) : void
ex System.Exception The exception to log
Результат void

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

Writes the output to the log file
protected WriteOutput ( String output ) : void
output String The output.
Результат void