C# 클래스 CloudInit.Modules.Core.PowershellModuleBase

Base class to execute a powershell script
상속: IInputModule
파일 보기 프로젝트 열기: bwight/CloudInit.NET

공개 메소드들

메소드 설명
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