Class
HttpEventSourceCollection
Provides a managed object to manage HttpRequestEventSource connections.
public sealed class HttpEventSourceCollection : IReadOnlyCollection<HttpRequestEventSource>, IEnumerable<HttpRequestEventSource>, IEnumerableInheritance #
object ← HttpEventSourceCollection
Implements #
IReadOnlyCollection<HttpRequestEventSource>, IEnumerable<HttpRequestEventSource>, IEnumerable
Inherited Members #
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties #
| Name | Description |
|---|---|
| ActiveConnections | Gets an number indicating the amount of active event source connections. |
| Count |
Methods #
| Name | Description |
|---|---|
| All() | Gets all actives HttpRequestEventSource instances. |
| DropAll() | Closes and disposes all registered and active HttpRequestEventSource in this collections. |
| Find(Func<string, bool>) | Gets all actives HttpRequestEventSource instances that matches their identifier predicate. |
| GetByIdentifier(string) | Gets the event source connection for the specified identifier. |
| GetEnumerator() | |
| OnEventSourceRegistered | Represents an event that is fired when an HttpRequestEventSource is registered in this collection. |
| OnEventSourceUnregistration | Represents an event that is fired when an HttpRequestEventSource is closed and removed from this collection. |