IJsMap Methods |
The IJsMap type exposes the following members.
Name | Description | |
---|---|---|
Clear |
Removes all items from this IJsMap. Does nothing if the map is empty.
| |
ContainsKey |
Determines whether the IJsMap contains an element with
the specified key.
| |
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 element with the specified key from the IJsMap.
| |
ToReadOnlyDictionary |
Copies the contents of the IJsMap to a new IReadOnlyDictionaryTKey, TValue.
| |
ToReadOnlyDictionaryTKey, TVal |
Copies the contents of the IJsMap to a new IReadOnlyDictionaryTKey, TValue.
|
Name | Description | |
---|---|---|
ToJsonString |
Converts the given JavaScript object into a JSON string.
(Defined by JsonExtensions.) |