Skip to content

JSAbortSignal Explicit operator (1 of 7)

C#
public static explicit operator JSAbortSignal(CancellationToken cancellation)

See Also


JSAbortSignal Explicit operator (2 of 7)

C#
public static explicit operator JSAbortSignal(CancellationToken? cancellation)

See Also


JSAbortSignal Explicit operator (3 of 7)

C#
public static explicit operator CancellationToken(JSAbortSignal signal)

See Also


JSAbortSignal Explicit operator (4 of 7)

C#
public static explicit operator CancellationToken(JSAbortSignal? signal)

See Also


JSAbortSignal Explicit operator (5 of 7)

C#
public static explicit operator JSAbortSignal(JSObject obj)

See Also


JSAbortSignal Explicit operator (6 of 7)

Explicitly converts a JSValue to a nullable JSAbortSignal.

C#
public static explicit operator JSAbortSignal?(JSValue value)
parameterdescription
valueThe JSValue to convert.

Return Value

The JSAbortSignal if it was successfully created or null if it was failed.

See Also


JSAbortSignal Explicit operator (7 of 7)

Explicitly converts a JSValue to a JSAbortSignal.

C#
public static explicit operator JSAbortSignal(JSValue value)
parameterdescription
valueThe JSValue to convert.

Return Value

JSAbortSignal struct created based on this JSValue.

Exceptions

exceptioncondition
InvalidCastExceptionThrown when the T struct cannot be created based on this JSValue.

See Also

Released under the MIT license