public RunspaceStats(string runspaceId, IRunspaceSessionInfoProvider sessionInfoProvider, IActiveIdleInfoProvider activeIdleInfoProvider) { RunspaceId = runspaceId; _sessionsInfoProvider = sessionInfoProvider; _activeIdleInfoProvider = activeIdleInfoProvider; }
public RunspaceStats(string runspaceId, bool isWebConsole, IRunspaceSessionInfoProvider sessionInfoProvider, IActiveIdleInfoProvider activeIdleInfoProvider) { RunspaceId = runspaceId; IsWebConsole = isWebConsole; _sessionsInfoProvider = sessionInfoProvider; _activeIdleInfoProvider = activeIdleInfoProvider; }
public IRunspaceStats Create( string runspaceId, IRunspaceSessionInfoProvider sessionInfoProvider, IActiveIdleInfoProvider activeIdleInfoProvider) { return(new RunspaceStats( runspaceId, sessionInfoProvider, activeIdleInfoProvider)); }