예제 #1
0
 public RunspaceStats(string runspaceId,
                      IRunspaceSessionInfoProvider sessionInfoProvider,
                      IActiveIdleInfoProvider activeIdleInfoProvider)
 {
     RunspaceId              = runspaceId;
     _sessionsInfoProvider   = sessionInfoProvider;
     _activeIdleInfoProvider = activeIdleInfoProvider;
 }
예제 #2
0
 public RunspaceStats(string runspaceId,
                      bool isWebConsole,
                      IRunspaceSessionInfoProvider sessionInfoProvider,
                      IActiveIdleInfoProvider activeIdleInfoProvider)
 {
     RunspaceId              = runspaceId;
     IsWebConsole            = isWebConsole;
     _sessionsInfoProvider   = sessionInfoProvider;
     _activeIdleInfoProvider = activeIdleInfoProvider;
 }
예제 #3
0
 public IRunspaceStats Create(
     string runspaceId,
     IRunspaceSessionInfoProvider sessionInfoProvider,
     IActiveIdleInfoProvider activeIdleInfoProvider)
 {
     return(new RunspaceStats(
                runspaceId,
                sessionInfoProvider,
                activeIdleInfoProvider));
 }