EventCounts Class
The number of trusted events of each type considered for Event Timing that were dispatched in a window (https://w3c.github.io/event-timing/#sec-event-counts), whatever their duration. An event is counted by the rendering update that follows its dispatch.
public sealed class EventCounts : IEnumerable<KeyValuePair<string, ulong>>, IReadOnlyCollection<KeyValuePair<string, ulong>>, IEnumerable- Implements
Properties
| Name | Description |
|---|---|
| Count | Gets the number of event types: all the considered types are in the map, with a count of 0 until an event is dispatched. |
Count
EventTiming.csMethods
| Name | Description |
|---|---|
| Get(string) | Returns the number of events of a type that were dispatched, or null when the type is not considered for Event Timing. |
| GetEnumerator() | Enumerates the event types and their counts, in the order of the specification. |
| Has(string) | Returns whether the events of a type are counted. |
| System.Collections.IEnumerable.GetEnumerator() |
Get(string)
EventTiming.csGetEnumerator()
EventTiming.csEnumerates the event types and their counts, in the order of the specification.
public IEnumerator<KeyValuePair<string, ulong>> GetEnumerator()