C# 클래스 PoshCode.PowerShell.SessionStateHelper

The SessionState Helper contains extension methods for working with SessionState or InitialSessionState objects
파일 보기 프로젝트 열기: Jaykul/PoshConsole

공개 메소드들

메소드 설명
LoadCmdlets ( this iss, Assembly assembly ) : InitialSessionState

Loads any cmdlets defined in the specified assembly

LoadCmdlets ( this iss, IEnumerable types ) : InitialSessionState

Loads any cmdlets defined in the specified types

메소드 상세

LoadCmdlets() 공개 정적인 메소드

Loads any cmdlets defined in the specified assembly
public static LoadCmdlets ( this iss, Assembly assembly ) : InitialSessionState
iss this The InitialSessionState.
assembly System.Reflection.Assembly The assembly which contains cmdlets.
리턴 System.Management.Automation.Runspaces.InitialSessionState

LoadCmdlets() 공개 정적인 메소드

Loads any cmdlets defined in the specified types
public static LoadCmdlets ( this iss, IEnumerable types ) : InitialSessionState
iss this The InitialSessionState.
types IEnumerable The types which might be cmdlets.
리턴 System.Management.Automation.Runspaces.InitialSessionState