C# 클래스 JustAProgrammer.ADPR.AppDomainPoshRunner

상속: System.MarshalByRefObject
파일 보기 프로젝트 열기: zippy1981/AppDomainPoshRunner

공개 메소드들

메소드 설명
AppDomainPoshRunner ( ADPRConfig config ) : System
RunScriptInNewAppDomain ( ADPRConfig configuration ) : string[]

Created a new AppDomain and runs the given PowerShell script.

비공개 메소드들

메소드 설명
RunScript ( System.Management.Automation.Runspaces.Runspace runspace, string scriptText, bool outString = false ) : Collection

Runs a PowerShell script under a given Runspace.

RunScript ( Uri file, ADPRHost host = null ) : string[]

Creates a PowerShell Runspace to run a script under.

RunScript ( string script, ADPRHost host = null ) : string[]

Creates a PowerShell Runspace to run a script under.

메소드 상세

AppDomainPoshRunner() 공개 메소드

public AppDomainPoshRunner ( ADPRConfig config ) : System
config ADPRConfig
리턴 System

RunScriptInNewAppDomain() 공개 정적인 메소드

Created a new AppDomain and runs the given PowerShell script.
public static RunScriptInNewAppDomain ( ADPRConfig configuration ) : string[]
configuration ADPRConfig
리턴 string[]