Windows-powershell / PowerShell-master /src /System.Management.Automation /engine /remoting /common /RunspaceInitInfo.cs
Download PowerShell-master/src/System.Management.Automation/engine/remoting/common/RunspaceInitInfo.cs from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 970 Bytes
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/System.Management.Automation/engine/remoting/common/RunspaceInitInfo.cs
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/src/System.Management.Automation/engine/remoting/common/RunspaceInitInfo.cs
-
curl -L -o RunspaceInitInfo.cs https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/System.Management.Automation/engine/remoting/common/RunspaceInitInfo.cs
970 Bytes
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| using Dbg = System.Management.Automation.Diagnostics; | |
| namespace System.Management.Automation.Remoting | |
| { | |
| /// <summary> | |
| /// Class that encapsulates the information carried by the RunspaceInitInfo PSRP message. | |
| /// </summary> | |
| internal class RunspacePoolInitInfo | |
| { | |
| /// <summary> | |
| /// Min Runspaces setting on the server runspace pool. | |
| /// </summary> | |
| internal int MinRunspaces { get; } | |
| /// <summary> | |
| /// Max Runspaces setting on the server runspace pool. | |
| /// </summary> | |
| internal int MaxRunspaces { get; } | |
| /// <summary> | |
| /// Constructor. | |
| /// </summary> | |
| /// <param name="minRS"></param> | |
| /// <param name="maxRS"></param> | |
| internal RunspacePoolInitInfo(int minRS, int maxRS) | |
| { | |
| MinRunspaces = minRS; | |
| MaxRunspaces = maxRS; | |
| } | |
| } | |
| } | |