Skip to content

Commit be3aa11

Browse files
committed
System.Security.Claims docs
1 parent 9325c7c commit be3aa11

File tree

1 file changed

+29
-13
lines changed

1 file changed

+29
-13
lines changed

xml/System.Security.Claims/ClaimsIdentity.xml

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -601,10 +601,14 @@
601601
<Parameter Name="stringComparison" Type="System.StringComparison" Index="1" FrameworkAlternate="net-10.0" />
602602
</Parameters>
603603
<Docs>
604-
<param name="reader">To be added.</param>
605-
<param name="stringComparison">To be added.</param>
606-
<summary>To be added.</summary>
604+
<param name="reader">A <see cref="T:System.IO.BinaryReader" /> pointing to a <see cref="T:System.Security.Claims.ClaimsIdentity" />.</param>
605+
<param name="stringComparison">The string comparison to use when comparing claim types.</param>
606+
<summary>Initializes an instance of <see cref="T:System.Security.Claims.ClaimsIdentity" /> with the specified <see cref="T:System.IO.BinaryReader" />.</summary>
607607
<remarks>To be added.</remarks>
608+
<exception cref="T:System.ArgumentNullException">
609+
<paramref name="reader" /> is <see langword="null" />.</exception>
610+
<exception cref="T:System.ArgumentException">
611+
<paramref name="stringComparison" /> is out of range or a not supported value.</exception>
608612
</Docs>
609613
</Member>
610614
<Member MemberName=".ctor">
@@ -684,10 +688,16 @@
684688
<Parameter Name="stringComparison" Type="System.StringComparison" Index="1" FrameworkAlternate="net-10.0" />
685689
</Parameters>
686690
<Docs>
687-
<param name="other">To be added.</param>
688-
<param name="stringComparison">To be added.</param>
689-
<summary>To be added.</summary>
691+
<param name="other">The <see cref="T:System.Security.Claims.ClaimsIdentity" /> to copy.</param>
692+
<param name="stringComparison">The string comparison to use when comparing claim types.</param>
693+
<summary>
694+
<para>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class from an existing <see cref="T:System.Security.Claims.ClaimsIdentity" /> instance.</para>
695+
</summary>
690696
<remarks>To be added.</remarks>
697+
<exception cref="T:System.ArgumentException">
698+
<paramref name="stringComparison" /> is out of range or a not supported value.</exception>
699+
<exception cref="T:System.ArgumentNullException">
700+
<paramref name="other" /> is <see langword="null" /> .</exception>
691701
</Docs>
692702
</Member>
693703
<Member MemberName=".ctor">
@@ -1007,14 +1017,20 @@
10071017
<Parameter Name="stringComparison" Type="System.StringComparison" Index="5" FrameworkAlternate="net-10.0" />
10081018
</Parameters>
10091019
<Docs>
1010-
<param name="identity">To be added.</param>
1011-
<param name="claims">To be added.</param>
1012-
<param name="authenticationType">To be added.</param>
1013-
<param name="nameType">To be added.</param>
1014-
<param name="roleType">To be added.</param>
1015-
<param name="stringComparison">To be added.</param>
1016-
<summary>To be added.</summary>
1020+
<param name="identity">The identity from which to base the new claims identity.</param>
1021+
<param name="claims">The claims with which to populate the claims identity.</param>
1022+
<param name="authenticationType">The type of authentication used.</param>
1023+
<param name="nameType">The claim type to use for name claims.</param>
1024+
<param name="roleType">The claim type to use for role claims.</param>
1025+
<param name="stringComparison">The string comparison to use when comparing claim types.</param>
1026+
<summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class.</summary>
10171027
<remarks>To be added.</remarks>
1028+
<exception cref="T:System.ArgumentException">
1029+
<paramref name="stringComparison" /> is out of range or a not supported value.</exception>
1030+
<exception cref="T:System.InvalidOperationException">
1031+
<para>
1032+
<paramref name="identity" /> is a <see cref="T:System.Security.Claims.ClaimsIdentity" /> and <see cref="P:System.Security.Claims.ClaimsIdentity.Actor" /> results in a circular reference back to <see langword="this" />.</para>
1033+
</exception>
10181034
</Docs>
10191035
</Member>
10201036
<Member MemberName="Actor">

0 commit comments

Comments
 (0)