Table of Contents

Class GeneralEventDispatchExtensions

Namespace
Bunit
Assembly
Bunit.Web.dll

General event dispatch helper extension methods.

public static class GeneralEventDispatchExtensions
Inheritance
GeneralEventDispatchExtensions
Inherited Members

Methods

Activate(IElement)

Raises the @onactivate event on element, passing an empty (Empty) to the event handler.

public static void Activate(this IElement element)

Parameters

element IElement

The element to raise the event on.

ActivateAsync(IElement)

Raises the @onactivate event on element, passing an empty (Empty) to the event handler.

public static Task ActivateAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

BeforeActivate(IElement)

Raises the @onbeforeactivate event on element, passing an empty (Empty) to the event handler.

public static void BeforeActivate(this IElement element)

Parameters

element IElement

The element to raise the event on.

BeforeActivateAsync(IElement)

Raises the @onbeforeactivate event on element, passing an empty (Empty) to the event handler.

public static Task BeforeActivateAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

BeforeDeactivate(IElement)

Raises the @onbeforedeactivate event on element, passing an empty (Empty) to the event handler.

public static void BeforeDeactivate(this IElement element)

Parameters

element IElement

The element to raise the event on.

BeforeDeactivateAsync(IElement)

Raises the @onbeforedeactivate event on element, passing an empty (Empty) to the event handler.

public static Task BeforeDeactivateAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Deactivate(IElement)

Raises the @ondeactivate event on element, passing an empty (Empty) to the event handler.

public static void Deactivate(this IElement element)

Parameters

element IElement

The element to raise the event on.

DeactivateAsync(IElement)

Raises the @ondeactivate event on element, passing an empty (Empty) to the event handler.

public static Task DeactivateAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Ended(IElement)

Raises the @onended event on element, passing an empty (Empty) to the event handler.

public static void Ended(this IElement element)

Parameters

element IElement

The element to raise the event on.

EndedAsync(IElement)

Raises the @onended event on element, passing an empty (Empty) to the event handler.

public static Task EndedAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

FullscreenChange(IElement)

Raises the @onfullscreenchange event on element, passing an empty (Empty) to the event handler.

public static void FullscreenChange(this IElement element)

Parameters

element IElement

The element to raise the event on.

FullscreenChangeAsync(IElement)

Raises the @onfullscreenchange event on element, passing an empty (Empty) to the event handler.

public static Task FullscreenChangeAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

FullscreenError(IElement)

Raises the @onfullscreenerror event on element, passing an empty (Empty) to the event handler.

public static void FullscreenError(this IElement element)

Parameters

element IElement

The element to raise the event on.

FullscreenErrorAsync(IElement)

Raises the @onfullscreenerror event on element, passing an empty (Empty) to the event handler.

public static Task FullscreenErrorAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

LoadedData(IElement)

Raises the @onloadeddata event on element, passing an empty (Empty) to the event handler.

public static void LoadedData(this IElement element)

Parameters

element IElement

The element to raise the event on.

LoadedDataAsync(IElement)

Raises the @onloadeddata event on element, passing an empty (Empty) to the event handler.

public static Task LoadedDataAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

LoadedMetadata(IElement)

Raises the @onloadedmetadata event on element, passing an empty (Empty) to the event handler.

public static void LoadedMetadata(this IElement element)

Parameters

element IElement

The element to raise the event on.

LoadedMetadataAsync(IElement)

Raises the @onloadedmetadata event on element, passing an empty (Empty) to the event handler.

public static Task LoadedMetadataAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

PointerlockChange(IElement)

Raises the @onpointerlockchange event on element, passing an empty (Empty) to the event handler.

public static void PointerlockChange(this IElement element)

Parameters

element IElement

The element to raise the event on.

PointerlockChangeAsync(IElement)

Raises the @onpointerlockchange event on element, passing an empty (Empty) to the event handler.

public static Task PointerlockChangeAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

PointerlockError(IElement)

Raises the @onpointerlockerror event on element, passing an empty (Empty) to the event handler.

public static void PointerlockError(this IElement element)

Parameters

element IElement

The element to raise the event on.

PointerlockErrorAsync(IElement)

Raises the @onpointerlockerror event on element, passing an empty (Empty) to the event handler.

public static Task PointerlockErrorAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

ReadystateChange(IElement)

Raises the @onreadystatechange event on element, passing an empty (Empty) to the event handler.

public static void ReadystateChange(this IElement element)

Parameters

element IElement

The element to raise the event on.

ReadystateChangeAsync(IElement)

Raises the @onreadystatechange event on element, passing an empty (Empty) to the event handler.

public static Task ReadystateChangeAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Scroll(IElement)

Raises the @onscroll event on element, passing an empty (Empty) to the event handler.

public static void Scroll(this IElement element)

Parameters

element IElement

The element to raise the event on.

ScrollAsync(IElement)

Raises the @onscroll event on element, passing an empty (Empty) to the event handler.

public static Task ScrollAsync(this IElement element)

Parameters

element IElement

The element to raise the event on.

Returns

Task

A task that completes when the event handler is done.

Progress Telerik

Premium sponsor: Progress Telerik.

Packt

Editorial support provided by Packt.

.NET Foundation

Supported by the .NET Foundation.