IJsSet Interface |
Namespace: DotNetBrowser.Js.Collections
public interface IJsSet : IJsObject, IAutoDisposable
The IJsSet type exposes the following members.
Name | Description | |
---|---|---|
Count |
Gets the number of elements contained in the IJsSet.
| |
Frame |
Gets the IFrame instance this JavaScript object is bound to.
(Inherited from IJsObject.) | |
IsDisposed |
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.) | |
Properties |
Gets the object properties as a live collection.
Modifying this collection will lead to updating the object properties.
(Inherited from IJsObject.) |
Name | Description | |
---|---|---|
Add |
Adds an item to the IJsSet.
| |
Clear |
Removes all items from this IJsSet. Does nothing if the set is empty.
| |
Contains |
Determines whether the IJsSet contains a specific value.
| |
InvokeT(String, Object) |
Executes the function with the given methodName and the args in the
JavaScript object. This method blocks current thread execution until the function finishes
its execution. If the function raises an exception, then a JsException with an error
message that describes the reason of the exception will be thrown. Same error message will be
printed in JavaScript Console.
(Inherited from IJsObject.) | |
InvokeAsync(String, Object) |
Asynchronously executes the function with the given methodName and the args
in the JavaScript object without blocking the current thread.
(Inherited from IJsObject.) | |
Remove |
Removes the specified item from this set.
| |
ToReadOnlyCollection |
Copies the contents of the IJsSet to a new IReadOnlyCollectionT.
| |
ToReadOnlyCollectionT |
Copies the contents of the IJsSet to a new IReadOnlyCollectionT.
|
Name | Description | |
---|---|---|
Disposed |
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.) |
Name | Description | |
---|---|---|
ToJsonString |
Converts the given JavaScript object into a JSON string.
(Defined by JsonExtensions.) |