Table of Contents

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

int

Identifiers

Gets a read only collection of all the identifiers used in invocations in this dictionary.

public IReadOnlyCollection<string> Identifiers { get; }

Property Value

IReadOnlyCollection<string>

this[string]

Gets all invocations for a specific identifier.

public IReadOnlyList<JSRuntimeInvocation> this[string identifier] { get; }

Parameters

identifier string

The identifier to get invocations for.

Property Value

IReadOnlyList<JSRuntimeInvocation>

An IReadOnlyList<T>.

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.

Progress Telerik

Premium sponsor: Progress Telerik.

Packt

Editorial support provided by Packt.

.NET Foundation

Supported by the .NET Foundation.