public SessionCollection(Host.IApplication application) { _application = application; _collection = new Dictionary <Guid, Session>(); _sessionCreatedEvent = new RemoteEventHandler <SessionEventArgs>(this); _sessionRemovedEvent = new RemoteEventHandler <SessionEventArgs>(this); _sessionStateChangedEvent = new RemoteEventHandler <SessionEventArgs>(this); }
public ConfigurationCollection(IProfilingTargetCollection profilingTargets, IFrameworkCollection frameworks, Host.IApplication application) { _profilingTargets = profilingTargets; _frameworks = frameworks; _application = application; _collection = new Dictionary <Guid, Configuration>(); _configurationCreatedEvent = new RemoteEventHandler <ConfigurationEventArgs>(this); _configurationRemovedEvent = new RemoteEventHandler <ConfigurationEventArgs>(this); }