forked from PowerShell/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRunspaceInitInfo.cs
More file actions
35 lines (31 loc) · 1.07 KB
/
Copy pathRunspaceInitInfo.cs
File metadata and controls
35 lines (31 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
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;
}
}
}