Skip to content

Commit 944c89a

Browse files
committed
Updated generated csharp and xml docs, with latest changes to libraries.
1 parent 96ec563 commit 944c89a

File tree

6,003 files changed

+73302
-64950
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,003 files changed

+73302
-64950
lines changed

CSharpToJavaScript/APIs/JS/Ecma/Math.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ public partial class Math
2020
public const float SQRT1_2 = 0.7071067811865476f;
2121
public const float SQRT2 = 1.4142135623730951f;
2222

23+
//test
24+
/////<include file='Utils/include.xml' path='docs/Math/*'/>
25+
/////<include file='Utils/include2.xml' path='docs/Math/*'/>
26+
//test
27+
2328
[To(ToAttribute.FirstCharToLowerCase)]
2429
public static float Abs(float x)
2530
{

CSharpToJavaScript/APIs/JS/Generated/JS.generated.cs

Lines changed: 2284 additions & 2282 deletions
Large diffs are not rendered by default.

CSharpToJavaScript/Utils/Docs.generated.xml

Lines changed: 0 additions & 62663 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<docs>
2+
<AbortController>
3+
<summary>
4+
The <strong><c>AbortController</c></strong> interface represents a controller object that allows you to abort one or more Web requests as and when desired.
5+
</summary>
6+
<remarks>
7+
<para>You can create a new <c>AbortController</c> object using the <see cref="AbortController.AbortController"/> constructor. Communicating with a DOM request is done using an <see cref="AbortSignal"/> object.</para>
8+
<para>-<see href="https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API">Fetch API</see><br/>-<see href="https://developer.chrome.com/blog/abortable-fetch/">Abortable Fetch</see> by Jake Archibald<br/></para>
9+
<para><seealso href="https://developer.mozilla.org/en-US/docs/Web/API/AbortController"> <em>See also on MDN</em> </seealso></para>
10+
</remarks>
11+
</AbortController>
12+
</docs>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<docs>
2+
<AbortControllerAbort>
3+
<summary>
4+
The <strong><c>abort()</c></strong> method of the <see cref="AbortController"/> interface aborts a DOM request before it has completed.<br/>This is able to abort <see href="https://developer.mozilla.org/en-US/docs/Web/API/fetch">fetch requests</see>, the consumption of any response bodies, or streams.
5+
</summary>
6+
<remarks>
7+
<para>-<see href="https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API">Fetch API</see><br/></para>
8+
<para><seealso href="https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort"> <em>See also on MDN</em> </seealso></para>
9+
</remarks>
10+
<returns>None (<see cref="Undefined"/>).</returns>
11+
</AbortControllerAbort>
12+
</docs>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<docs>
2+
<AbortControllerAbortController>
3+
<summary>
4+
The <strong><c>AbortController()</c></strong> constructor creates a new <see cref="AbortController"/> object instance.
5+
</summary>
6+
<remarks>
7+
<para>-<see href="https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API">Fetch API</see><br/></para>
8+
<para><seealso href="https://developer.mozilla.org/en-US/docs/Web/API/AbortController/AbortController"> <em>See also on MDN</em> </seealso></para>
9+
</remarks>
10+
</AbortControllerAbortController>
11+
</docs>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<docs>
2+
<AbortControllerSignal>
3+
<summary>
4+
The <strong><c>signal</c></strong> read-only property of the <see cref="AbortController"/> interface returns an <see cref="AbortSignal"/> object instance, which can be used to communicate with/abort a DOM request as desired.
5+
</summary>
6+
<remarks>
7+
<para>-<see href="https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API">Fetch API</see><br/></para>
8+
<para><seealso href="https://developer.mozilla.org/en-US/docs/Web/API/AbortController/signal"> <em>See also on MDN</em> </seealso></para>
9+
</remarks>
10+
<value>An <see cref="AbortSignal"/> object instance.</value>
11+
</AbortControllerSignal>
12+
</docs>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<docs>
2+
<AbortSignal>
3+
<summary>
4+
The <strong><c>AbortSignal</c></strong> interface represents a signal object that allows you to communicate with a DOM request (such as a fetch request) and abort it if required via an <see cref="AbortController"/> object.
5+
</summary>
6+
<remarks>
7+
<para></para>
8+
<para>-<see href="https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API">Fetch API</see><br/>-<see href="https://developer.chrome.com/blog/abortable-fetch/">Abortable Fetch</see> by Jake Archibald<br/></para>
9+
<para><seealso href="https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal"> <em>See also on MDN</em> </seealso></para>
10+
</remarks>
11+
</AbortSignal>
12+
</docs>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<docs>
2+
<AbortSignalAbort_static>
3+
<summary>
4+
The <strong><c>AbortSignal.abort()</c></strong> static method returns an <see cref="AbortSignal"/> that is already set as aborted (and which does not trigger an <see cref="AbortSignal/abort_event"/> event).
5+
</summary>
6+
<remarks>
7+
<para>This is shorthand for the following code:</para><para>This could, for example, be passed to a fetch method in order to run its abort logic (i.e. it may be that code is organized such that the abort logic should be run even if the intended fetch operation has not been started).</para><blockquote class="NOTE"><h5>NOTE</h5><para><strong>Note:</strong> The method is similar in purpose to <see cref="PromiseReject"/>.</para></blockquote>
8+
<para><seealso href="https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/abort_static"> <em>See also on MDN</em> </seealso></para>
9+
</remarks>
10+
<returns>An <c>AbortSignal</c> instance with the <see cref="AbortSignal.Aborted"/> property set to <c>true</c>, and <see cref="AbortSignal.Reason"/> set to the specified or default reason value.</returns>
11+
</AbortSignalAbort_static>
12+
</docs>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<docs>
2+
<AbortSignalAborted>
3+
<summary>
4+
The <strong><c>aborted</c></strong> read-only property returns a value that indicates whether the DOM requests the signal is communicating with are aborted (<c>true</c>) or not (<c>false</c>).
5+
</summary>
6+
<remarks>
7+
<para>-<see href="https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API">Fetch API</see><br/></para>
8+
<para><seealso href="https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/aborted"> <em>See also on MDN</em> </seealso></para>
9+
</remarks>
10+
<value><c>true</c> (aborted) or <c>false</c></value>
11+
</AbortSignalAborted>
12+
</docs>

0 commit comments

Comments
 (0)