Пример #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));
 }