Class JSRuntimeInvocationDictionary
- Namespace
- Bunit
- Assembly
- Bunit.Web.dll
Represents a dictionary of JSRuntimeInvocation, keyed by their identifier.
public sealed class JSRuntimeInvocationDictionary : IReadOnlyCollection<JSRuntimeInvocation>, IEnumerable<JSRuntimeInvocation>, IEnumerable
- Inheritance
-
JSRuntimeInvocationDictionary
- Implements
- Inherited Members
- Extension Methods
Constructors
JSRuntimeInvocationDictionary()
public JSRuntimeInvocationDictionary()
Properties
Count
Gets the total number of invocations registered in the dictionary.
public int Count { get; }
Property Value
Identifiers
Gets a read only collection of all the identifiers used in invocations in this dictionary.
public IReadOnlyCollection<string> Identifiers { get; }
Property Value
this[string]
Gets all invocations for a specific identifier
.
public IReadOnlyList<JSRuntimeInvocation> this[string identifier] { get; }
Parameters
identifier
stringThe identifier to get invocations for.
Property Value
Methods
GetEnumerator()
Gets an IEnumerator<T> that will iterate over all invocations in the dictionary.
public IEnumerator<JSRuntimeInvocation> GetEnumerator()
Returns
- IEnumerator<JSRuntimeInvocation>
An iterator with all the JSRuntimeInvocation registered in this dictionary.