Skip to content

Commit f1c3d2a

Browse files
authored
enhancements (#2025)
* enhancements * feedback * fix broken link * fix link
1 parent dfd7c33 commit f1c3d2a

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

xml/System/UriKind.xml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,19 @@
2929
<BaseTypeName>System.Enum</BaseTypeName>
3030
</Base>
3131
<Docs>
32-
<summary>Defines the kinds of <see cref="T:System.Uri" />s for the <see cref="M:System.Uri.IsWellFormedUriString(System.String,System.UriKind)" /> and several <see cref="Overload:System.Uri.#ctor" /> methods.</summary>
32+
<summary>Defines the different kinds of URIs.</summary>
3333
<remarks>
3434
<format type="text/markdown"><![CDATA[
3535
36-
## Remarks
37-
Absolute URIs are characterized by a complete reference to the resource (example: http://www.contoso.com/index.html), while a relative Uri depends on a previously defined base URI (example: /index.html).
36+
## Remarks
37+
38+
Absolute URIs are characterized by a complete reference to the resource (example: `http://www.contoso.com/index.html`), while a relative URI depends on a previously defined base URI (example: `/index.html`).
39+
40+
The following list shows some APIs that use the `UriKind` enum:
41+
42+
* <xref:System.Uri.%23ctor(System.String,System.UriKind)?displayProperty=nameWithType>
43+
* <xref:System.Uri.IsWellFormedUriString(System.String,System.UriKind)?displayProperty=nameWithType>
44+
* <xref:System.Uri.TryCreate(System.String,System.UriKind,System.Uri%40)?displayProperty=nameWithType>
3845
3946
]]></format>
4047
</remarks>
@@ -73,7 +80,7 @@
7380
</ReturnValue>
7481
<MemberValue>1</MemberValue>
7582
<Docs>
76-
<summary>The Uri is an absolute Uri.</summary>
83+
<summary>The URI is absolute.</summary>
7784
</Docs>
7885
</Member>
7986
<Member MemberName="Relative">
@@ -109,7 +116,7 @@
109116
</ReturnValue>
110117
<MemberValue>2</MemberValue>
111118
<Docs>
112-
<summary>The Uri is a relative Uri.</summary>
119+
<summary>The URI is relative.</summary>
113120
</Docs>
114121
</Member>
115122
<Member MemberName="RelativeOrAbsolute">
@@ -145,8 +152,8 @@
145152
</ReturnValue>
146153
<MemberValue>0</MemberValue>
147154
<Docs>
148-
<summary>The kind of the Uri is indeterminate.</summary>
155+
<summary>The URI kind is indeterminate.</summary>
149156
</Docs>
150157
</Member>
151158
</Members>
152-
</Type>
159+
</Type>

0 commit comments

Comments
 (0)