Team Ai
Datasetpublic

MegaBites-AI/Windows-powershell

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes372downloads
RunspaceInitInfo.cs35 linesDownload Raw Back to common
1// Copyright (c) Microsoft Corporation.2// Licensed under the MIT License.3 4using Dbg = System.Management.Automation.Diagnostics;5 6namespace System.Management.Automation.Remoting7{8    /// <summary>9    /// Class that encapsulates the information carried by the RunspaceInitInfo PSRP message.10    /// </summary>11    internal class RunspacePoolInitInfo12    {13        /// <summary>14        /// Min Runspaces setting on the server runspace pool.15        /// </summary>16        internal int MinRunspaces { get; }17 18        /// <summary>19        /// Max Runspaces setting on the server runspace pool.20        /// </summary>21        internal int MaxRunspaces { get; }22 23        /// <summary>24        /// Constructor.25        /// </summary>26        /// <param name="minRS"></param>27        /// <param name="maxRS"></param>28        internal RunspacePoolInitInfo(int minRS, int maxRS)29        {30            MinRunspaces = minRS;31            MaxRunspaces = maxRS;32        }33    }34}35