Contains CodeMethod implementations for some adapted types like:
This class provides an entry point which is called by minishell's main to transfer control to Msh console host implementation.
Rehydrating type converter used during deserialization. It takes results of serializing some common types and rehydrates them back from property bags into live objects.
EngineInstaller is a class for facilitating registry of necessary information for monad engine.
This class will be built with monad console host dll (System.Management.Automation.dll).
At install time, installation utilities (like InstallUtil.exe) will call install this engine assembly based on the implementation in this class.
This class derives from base class PSInstaller. PSInstaller will handle the details about how information got written into registry. Here, the information about registry content is provided.
Helper functions for process info
Defines the authorization policy that controls the way scripts (and other command types) are handled by Monad. This authorization policy enforces one of four levels, as defined by the 'ExecutionPolicy' value in one of the following locations:
In priority-order (highest priority first,) these come from:
Restricted - All .ps1 files are blocked. ps1xml files must be digitally signed, and by a trusted publisher. If you haven't made a trust decision on the publisher yet, prompting is done as in AllSigned mode. AllSigned - All .ps1 and .ps1xml files must be digitally signed. If signed and executed, Monad prompts to determine if files from the signing publisher should be run or not. RemoteSigned - Only .ps1 and .ps1xml files originating from the internet must be digitally signed. If remote, signed, and executed, Monad prompts to determine if files from the signing publisher should be run or not. This is the default setting. Unrestricted - No files must be signed. If a file originates from the internet, Monad provides a warning prompt to alert the user. To suppress this warning message, right-click on the file in File Explorer, select "Properties," and then "Unblock." Bypass - No files must be signed, and internet origin is not verified
MshCoreMshSnapin (or MshCoreMshSnapinInstaller) is a class for facilitating registry of necessary information for monad core mshsnapin.
This class will be built with monad core engine dll (System.Management.Automation.dll).
PSHostMshSnapin (or PSHostMshSnapinInstaller) is a class for facilitating registry of necessary information for monad host mshsnapin.
This class will be built with monad host engine dll (Microsoft.PowerShell.ConsoleHost.dll).
MshSecurityMshSnapin (or MshSecurityMshSnapinInstaller) is a class for facilitating registry of necessary information for monad security mshsnapin.
This class will be built with monad security dll
Contains auxiliary ToString CodeMethod implementations for some types
Defines an entry point from unmanaged code to managed Msh
Defines the different Execution Policies supported by the PSAuthorizationManager class.
Defines the available configuration scopes for an execution policy. They are in the following priority, with successive elements overriding the items that precede them: LocalMachine -> CurrentUser -> Runspace