C# Class PoshCode.PowerShell.SessionStateHelper

The SessionState Helper contains extension methods for working with SessionState or InitialSessionState objects
Afficher le fichier Open project: Jaykul/PoshConsole

Méthodes publiques

Méthode Description
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

Method Details

LoadCmdlets() public static méthode

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.
Résultat System.Management.Automation.Runspaces.InitialSessionState

LoadCmdlets() public static méthode

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.
Résultat System.Management.Automation.Runspaces.InitialSessionState