Skip to content

Commit 1f941be

Browse files
committed
system.xaml
1 parent 82c9125 commit 1f941be

File tree

7 files changed

+352
-352
lines changed

7 files changed

+352
-352
lines changed

xml/System.Xaml.Schema/XamlTypeInvoker.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169

170170
Internally, the base implementation calls <see cref="P:System.Xaml.XamlType.IsCollection" />, and throws if the result is <see langword="false" />.
171171

172-
The base implementation does not necessarily use its own <see cref="M:System.Xaml.Schema.XamlTypeInvoker.GetAddMethod(System.Xaml.XamlType)" /> implementation. First, a cast of <paramref name="instance" /> to <see cref="T:System.Collections.IList" /> is attempted. If this succeeds, a call to <see cref="M:System.Collections.IList.Add(System.Object)" /> is made and the method returns. Otherwise, the base implementation uses CLR <see cref="M:System.Reflection.MethodBase.Invoke(System.Object,System.Object[])" /> to invoke the underlying <see langword="Add" /> method, as obtained from a call to <see cref="M:System.Xaml.Schema.XamlTypeInvoker.GetAddMethod(System.Xaml.XamlType)" /> for this <paramref name="" /><see cref="T:System.Xaml.Schema.XamlTypeInvoker" />.
172+
The base implementation does not necessarily use its own <see cref="M:System.Xaml.Schema.XamlTypeInvoker.GetAddMethod(System.Xaml.XamlType)" /> implementation. First, a cast of <paramref name="instance" /> to <see cref="T:System.Collections.IList" /> is attempted. If this succeeds, a call to <see cref="M:System.Collections.IList.Add(System.Object)" /> is made and the method returns. Otherwise, the base implementation uses CLR <see cref="M:System.Reflection.MethodBase.Invoke(System.Object,System.Object[])" /> to invoke the underlying <see langword="Add" /> method, as obtained from a call to <see cref="M:System.Xaml.Schema.XamlTypeInvoker.GetAddMethod(System.Xaml.XamlType)" /> for this <see cref="T:System.Xaml.Schema.XamlTypeInvoker" />.
173173

174174
In the base implementation no exception is raised at this level if <paramref name="item" /> is <see langword="null" />. It is still possible that the underlying <see langword="Add" /> method will raise an exception when invoked. Other run time exceptions are possible if <see cref="P:System.Xaml.XamlType.ItemType" /> does not return a valid result.</para>
175175
</block>
@@ -228,7 +228,7 @@
228228

229229
Internally, the base implementation calls <see cref="P:System.Xaml.XamlType.IsDictionary" />, and throws if the result is <see langword="false" />.
230230

231-
The base implementation does not necessarily use its own <see cref="M:System.Xaml.Schema.XamlTypeInvoker.GetAddMethod(System.Xaml.XamlType)" /> implementation. First, a cast of <paramref name="instance" /> to <see cref="T:System.Collections.IDictionary" /> is attempted. If this succeeds, a call to <see cref="M:System.Collections.IDictionary.Add(System.Object,System.Object)" /> is made and the method returns. Otherwise, the base implementation uses CLR <see cref="M:System.Reflection.MethodBase.Invoke(System.Object,System.Object[])" /> to invoke the underlying <see langword="Add" /> method, as obtained from a call to <see cref="M:System.Xaml.Schema.XamlTypeInvoker.GetAddMethod(System.Xaml.XamlType)" /> for this <paramref name="" /><see cref="T:System.Xaml.Schema.XamlTypeInvoker" />.
231+
The base implementation does not necessarily use its own <see cref="M:System.Xaml.Schema.XamlTypeInvoker.GetAddMethod(System.Xaml.XamlType)" /> implementation. First, a cast of <paramref name="instance" /> to <see cref="T:System.Collections.IDictionary" /> is attempted. If this succeeds, a call to <see cref="M:System.Collections.IDictionary.Add(System.Object,System.Object)" /> is made and the method returns. Otherwise, the base implementation uses CLR <see cref="M:System.Reflection.MethodBase.Invoke(System.Object,System.Object[])" /> to invoke the underlying <see langword="Add" /> method, as obtained from a call to <see cref="M:System.Xaml.Schema.XamlTypeInvoker.GetAddMethod(System.Xaml.XamlType)" /> for this <see cref="T:System.Xaml.Schema.XamlTypeInvoker" />.
232232

233233
In the base implementation no exception is raised at this level if <paramref name="item" /> or <paramref name="key" /> is <see langword="null" />. It is still possible that the underlying <see langword="Add" /> method will raise an exception when invoked. Other run time exceptions are possible if <see cref="P:System.Xaml.XamlType.ItemType" /> does not return a valid result.</para>
234234
</block>
@@ -399,7 +399,7 @@
399399
<block subset="none" type="overrides">
400400
<para>The base implementation includes a call to the internal helper <c>ThrowIfUnknown</c>. This helper always throws for cases where a <see cref="T:System.Xaml.Schema.XamlTypeInvoker" /> is based on an unknown <see cref="T:System.Xaml.XamlType" />, which includes cases where the <see cref="P:System.Xaml.XamlType.UnderlyingType" /> of the <see cref="T:System.Xaml.XamlType" /> is <see langword="null" />.
401401

402-
The base implementation does not necessarily use its own <see cref="M:System.Xaml.Schema.XamlTypeInvoker.GetEnumeratorMethod" /> implementation. First, a cast of <paramref name="instance" /> to <see cref="T:System.Collections.IEnumerable" /> is attempted. If this succeeds, a call to <see cref="M:System.Collections.IEnumerable.GetEnumerator" /> is made and the method returns that return value. Otherwise, the base implementation uses CLR <see cref="M:System.Reflection.MethodBase.Invoke(System.Object,System.Object[])" /> to invoke the underlying <see langword="GetEnumerator" /> method, as obtained from a call to <see cref="M:System.Xaml.Schema.XamlTypeInvoker.GetEnumeratorMethod" /> for this <paramref name="" /><see cref="T:System.Xaml.Schema.XamlTypeInvoker" />.</para>
402+
The base implementation does not necessarily use its own <see cref="M:System.Xaml.Schema.XamlTypeInvoker.GetEnumeratorMethod" /> implementation. First, a cast of <paramref name="instance" /> to <see cref="T:System.Collections.IEnumerable" /> is attempted. If this succeeds, a call to <see cref="M:System.Collections.IEnumerable.GetEnumerator" /> is made and the method returns that return value. Otherwise, the base implementation uses CLR <see cref="M:System.Reflection.MethodBase.Invoke(System.Object,System.Object[])" /> to invoke the underlying <see langword="GetEnumerator" /> method, as obtained from a call to <see cref="M:System.Xaml.Schema.XamlTypeInvoker.GetEnumeratorMethod" /> for this <see cref="T:System.Xaml.Schema.XamlTypeInvoker" />.</para>
403403
</block>
404404
</Docs>
405405
</Member>

xml/System.Xaml/AttachableMemberIdentifier.xml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</Interface>
2525
</Interfaces>
2626
<Docs>
27-
<summary>Provides a XAML type system identifier representation for attachable members. The identifier structure parallels the <paramref name="declaringType" /><see langword="." /><paramref name="memberName" /> string form for attachable member usage.</summary>
27+
<summary>Provides a XAML type system identifier representation for attachable members. The identifier structure parallels the <see langword="declaringType" /><see langword="." /><see langword="memberName" /> string form for attachable member usage.</summary>
2828
<remarks>To be added.</remarks>
2929
<altmember cref="T:System.Xaml.AttachablePropertyServices" />
3030
<altmember cref="T:System.Xaml.XamlMember" />
@@ -96,11 +96,11 @@
9696
<summary>Gets or sets the <paramref name="declaringType" /> component value of the <see cref="T:System.Xaml.AttachableMemberIdentifier" />.</summary>
9797
<value>The <paramref name="declaringType" /> component value of the <see cref="T:System.Xaml.AttachableMemberIdentifier" />.</value>
9898
<remarks>
99-
<format type="text/markdown"><![CDATA[
100-
101-
## Remarks
102-
The <xref:System.Xaml.AttachableMemberIdentifier.DeclaringType%2A> value should match the name of the <xref:System.Xaml.XamlMember.Type%2A?displayProperty=nameWithType> of the attachable member's XAML type system information.
103-
99+
<format type="text/markdown"><![CDATA[
100+
101+
## Remarks
102+
The <xref:System.Xaml.AttachableMemberIdentifier.DeclaringType%2A> value should match the name of the <xref:System.Xaml.XamlMember.Type%2A?displayProperty=nameWithType> of the attachable member's XAML type system information.
103+
104104
]]></format>
105105
</remarks>
106106
</Docs>
@@ -179,11 +179,11 @@
179179
<returns>
180180
<see langword="true" /> if the objects have the same value; otherwise, <see langword="false" />.</returns>
181181
<remarks>
182-
<format type="text/markdown"><![CDATA[
183-
184-
## Remarks
185-
The values that this method checks for equality are <xref:System.Xaml.AttachableMemberIdentifier.DeclaringType%2A> and <xref:System.Xaml.AttachableMemberIdentifier.MemberName%2A>.
186-
182+
<format type="text/markdown"><![CDATA[
183+
184+
## Remarks
185+
The values that this method checks for equality are <xref:System.Xaml.AttachableMemberIdentifier.DeclaringType%2A> and <xref:System.Xaml.AttachableMemberIdentifier.MemberName%2A>.
186+
187187
]]></format>
188188
</remarks>
189189
</Docs>
@@ -247,11 +247,11 @@
247247
<summary>Gets or sets the <paramref name="memberName" /> component value of the <see cref="T:System.Xaml.AttachableMemberIdentifier" />.</summary>
248248
<value>The <paramref name="memberName" /> component value of the <see cref="T:System.Xaml.AttachableMemberIdentifier" />.</value>
249249
<remarks>
250-
<format type="text/markdown"><![CDATA[
251-
252-
## Remarks
253-
The <xref:System.Xaml.AttachableMemberIdentifier.MemberName%2A> value should match the <xref:System.Xaml.XamlMember.Name%2A?displayProperty=nameWithType> of the attachable member's XAML type system information.
254-
250+
<format type="text/markdown"><![CDATA[
251+
252+
## Remarks
253+
The <xref:System.Xaml.AttachableMemberIdentifier.MemberName%2A> value should match the <xref:System.Xaml.XamlMember.Name%2A?displayProperty=nameWithType> of the attachable member's XAML type system information.
254+
255255
]]></format>
256256
</remarks>
257257
</Docs>
@@ -350,11 +350,11 @@
350350
<summary>Returns a <see cref="T:System.String" /> that represents the current <see cref="T:System.Xaml.AttachableMemberIdentifier" />.</summary>
351351
<returns>A <see cref="T:System.String" /> that represents the current <see cref="T:System.Xaml.AttachableMemberIdentifier" />.</returns>
352352
<remarks>
353-
<format type="text/markdown"><![CDATA[
354-
355-
## Remarks
356-
This implementation returns a string form that parallels the XAML attachable member usage in markup. That string form is `declaringType.memberName`.
357-
353+
<format type="text/markdown"><![CDATA[
354+
355+
## Remarks
356+
This implementation returns a string form that parallels the XAML attachable member usage in markup. That string form is `declaringType.memberName`.
357+
358358
]]></format>
359359
</remarks>
360360
</Docs>

xml/System.Xaml/XamlNodeQueue.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
<Docs>
2323
<summary>Provides a buffer for writing nodes and reading them again.</summary>
2424
<remarks>
25-
<format type="text/markdown"><![CDATA[
26-
27-
## Remarks
28-
Nodes are consumed from the <xref:System.Xaml.XamlNodeQueue> when they are read by the XAML reader. If you require a list of XAML nodes that can be replayed, or a list model that supports random access, see <xref:System.Xaml.XamlNodeList>.
29-
30-
When you create a <xref:System.Xaml.XamlNodeQueue>, you create a writer delegate that exists as the <xref:System.Xaml.XamlNodeQueue.Writer%2A> value. The writer delegate is based on an internal XAML writer class that is specifically for XAML nodes.
31-
25+
<format type="text/markdown"><![CDATA[
26+
27+
## Remarks
28+
Nodes are consumed from the <xref:System.Xaml.XamlNodeQueue> when they are read by the XAML reader. If you require a list of XAML nodes that can be replayed, or a list model that supports random access, see <xref:System.Xaml.XamlNodeList>.
29+
30+
When you create a <xref:System.Xaml.XamlNodeQueue>, you create a writer delegate that exists as the <xref:System.Xaml.XamlNodeQueue.Writer%2A> value. The writer delegate is based on an internal XAML writer class that is specifically for XAML nodes.
31+
3232
]]></format>
3333
</remarks>
3434
</Docs>
@@ -58,15 +58,15 @@
5858
<param name="schemaContext">The schema context to use for node operations.</param>
5959
<summary>Initializes a new instance of the <see cref="T:System.Xaml.XamlNodeQueue" /> class using a provided XAML schema context.</summary>
6060
<remarks>
61-
<format type="text/markdown"><![CDATA[
62-
63-
## Remarks
64-
The schema context is applied to the XAML writer that exists as the <xref:System.Xaml.XamlNodeQueue.Writer%2A> value.
65-
61+
<format type="text/markdown"><![CDATA[
62+
63+
## Remarks
64+
The schema context is applied to the XAML writer that exists as the <xref:System.Xaml.XamlNodeQueue.Writer%2A> value.
65+
6666
]]></format>
6767
</remarks>
6868
<exception cref="T:System.ArgumentNullException">
69-
<paramref name="xamlSchemaContext" /> is <see langword="null" />.</exception>
69+
<paramref name="schemaContext" /> is <see langword="null" />.</exception>
7070
</Docs>
7171
</Member>
7272
<Member MemberName="Count">

0 commit comments

Comments
 (0)