暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Microsoft.Extensions.Primitives.xml 69KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <doc>
  3. <assembly>
  4. <name>Microsoft.Extensions.Primitives</name>
  5. </assembly>
  6. <members>
  7. <member name="T:Microsoft.Extensions.Primitives.CancellationChangeToken">
  8. <summary>A <see cref="T:Microsoft.Extensions.Primitives.IChangeToken" /> implementation using <see cref="T:System.Threading.CancellationToken" />.</summary>
  9. </member>
  10. <member name="M:Microsoft.Extensions.Primitives.CancellationChangeToken.#ctor(System.Threading.CancellationToken)">
  11. <summary>Initializes a new instance of <see cref="T:Microsoft.Extensions.Primitives.CancellationChangeToken" />.</summary>
  12. <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken" />.</param>
  13. </member>
  14. <member name="M:Microsoft.Extensions.Primitives.CancellationChangeToken.RegisterChangeCallback(System.Action{System.Object},System.Object)">
  15. <summary>Registers for a callback that will be invoked when the entry has changed. <see cref="P:Microsoft.Extensions.Primitives.IChangeToken.HasChanged" /> must be set before the callback is invoked.</summary>
  16. <param name="callback">The <see cref="T:System.Action`1" /> to invoke.</param>
  17. <param name="state">State to be passed into the callback.</param>
  18. <returns>An <see cref="T:System.IDisposable" /> that is used to unregister the callback.</returns>
  19. </member>
  20. <member name="P:Microsoft.Extensions.Primitives.CancellationChangeToken.ActiveChangeCallbacks">
  21. <summary>Indicates if this token will pro-actively raise callbacks. If <see langword="false" />, the token consumer must poll <see cref="P:Microsoft.Extensions.Primitives.IChangeToken.HasChanged" /> to detect changes.</summary>
  22. <returns>
  23. <see langword="true" /> if the token will proactively raise callbacks; <see langword="false" /> otherwise.</returns>
  24. </member>
  25. <member name="P:Microsoft.Extensions.Primitives.CancellationChangeToken.HasChanged">
  26. <summary>Gets a value that indicates if a change has occurred.</summary>
  27. <returns>
  28. <see langword="true" /> if a change has occured; <see langword="false" /> otherwise.</returns>
  29. </member>
  30. <member name="T:Microsoft.Extensions.Primitives.ChangeToken">
  31. <summary>Propagates notifications that a change has occurred.</summary>
  32. </member>
  33. <member name="M:Microsoft.Extensions.Primitives.ChangeToken.OnChange(System.Func{Microsoft.Extensions.Primitives.IChangeToken},System.Action)">
  34. <summary>Registers the <paramref name="changeTokenConsumer" /> action to be called whenever the token produced changes.</summary>
  35. <param name="changeTokenProducer">Produces the change token.</param>
  36. <param name="changeTokenConsumer">Action called when the token changes.</param>
  37. <returns />
  38. </member>
  39. <member name="M:Microsoft.Extensions.Primitives.ChangeToken.OnChange``1(System.Func{Microsoft.Extensions.Primitives.IChangeToken},System.Action{``0},``0)">
  40. <summary>Registers the <paramref name="changeTokenConsumer" /> action to be called whenever the token produced changes.</summary>
  41. <param name="changeTokenProducer">Produces the change token.</param>
  42. <param name="changeTokenConsumer">Action called when the token changes.</param>
  43. <param name="state">state for the consumer.</param>
  44. <typeparam name="TState">The type of the state for the <paramref name="changeTokenConsumer" /> action.</typeparam>
  45. <returns />
  46. </member>
  47. <member name="T:Microsoft.Extensions.Primitives.CompositeChangeToken">
  48. <summary>An <see cref="T:Microsoft.Extensions.Primitives.IChangeToken" /> which represents one or more <see cref="T:Microsoft.Extensions.Primitives.IChangeToken" /> instances.</summary>
  49. </member>
  50. <member name="M:Microsoft.Extensions.Primitives.CompositeChangeToken.#ctor(System.Collections.Generic.IReadOnlyList{Microsoft.Extensions.Primitives.IChangeToken})">
  51. <summary>Creates a new instance of <see cref="T:Microsoft.Extensions.Primitives.CompositeChangeToken" />.</summary>
  52. <param name="changeTokens">The list of <see cref="T:Microsoft.Extensions.Primitives.IChangeToken" /> to compose.</param>
  53. </member>
  54. <member name="M:Microsoft.Extensions.Primitives.CompositeChangeToken.RegisterChangeCallback(System.Action{System.Object},System.Object)">
  55. <summary>Registers for a callback that will be invoked when the entry has changed. <see cref="P:Microsoft.Extensions.Primitives.IChangeToken.HasChanged" /> must be set before the callback is invoked.</summary>
  56. <param name="callback">The <see cref="T:System.Action`1" /> to invoke.</param>
  57. <param name="state">State to be passed into the callback.</param>
  58. <returns>An <see cref="T:System.IDisposable" /> that is used to unregister the callback.</returns>
  59. </member>
  60. <member name="P:Microsoft.Extensions.Primitives.CompositeChangeToken.ActiveChangeCallbacks">
  61. <summary>Indicates if this token will pro-actively raise callbacks. If <see langword="false" />, the token consumer must poll <see cref="P:Microsoft.Extensions.Primitives.IChangeToken.HasChanged" /> to detect changes.</summary>
  62. <returns>
  63. <see langword="true" /> if the token will proactively raise callbacks; <see langword="false" /> otherwise.</returns>
  64. </member>
  65. <member name="P:Microsoft.Extensions.Primitives.CompositeChangeToken.ChangeTokens">
  66. <summary>Returns the list of <see cref="T:Microsoft.Extensions.Primitives.IChangeToken" /> which compose the current <see cref="T:Microsoft.Extensions.Primitives.CompositeChangeToken" />.</summary>
  67. <returns>The list of <see cref="T:Microsoft.Extensions.Primitives.IChangeToken" /> instances which compose the current <see cref="T:Microsoft.Extensions.Primitives.CompositeChangeToken" />.</returns>
  68. </member>
  69. <member name="P:Microsoft.Extensions.Primitives.CompositeChangeToken.HasChanged">
  70. <summary>Gets a value that indicates if a change has occurred.</summary>
  71. <returns>
  72. <see langword="true" /> if a change has occured; <see langword="false" /> otherwise.</returns>
  73. </member>
  74. <member name="T:Microsoft.Extensions.Primitives.Extensions" />
  75. <member name="M:Microsoft.Extensions.Primitives.Extensions.Append(System.Text.StringBuilder,Microsoft.Extensions.Primitives.StringSegment)">
  76. <summary>Add the given <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to the <see cref="T:System.Text.StringBuilder" />.</summary>
  77. <param name="builder">The <see cref="T:System.Text.StringBuilder" /> to add to.</param>
  78. <param name="segment">The <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to add.</param>
  79. <returns>The original <see cref="T:System.Text.StringBuilder" />.</returns>
  80. </member>
  81. <member name="T:Microsoft.Extensions.Primitives.IChangeToken">
  82. <summary>Propagates notifications that a change has occurred.</summary>
  83. </member>
  84. <member name="M:Microsoft.Extensions.Primitives.IChangeToken.RegisterChangeCallback(System.Action{System.Object},System.Object)">
  85. <summary>Registers for a callback that will be invoked when the entry has changed.
  86. <see cref="P:Microsoft.Extensions.Primitives.IChangeToken.HasChanged" /> MUST be set before the callback is invoked.</summary>
  87. <param name="callback">The <see cref="T:System.Action`1" /> to invoke.</param>
  88. <param name="state">State to be passed into the callback.</param>
  89. <returns>An <see cref="T:System.IDisposable" /> that is used to unregister the callback.</returns>
  90. </member>
  91. <member name="P:Microsoft.Extensions.Primitives.IChangeToken.ActiveChangeCallbacks">
  92. <summary>Indicates if this token will pro-actively raise callbacks. If <see langword="false" />, the token consumer must
  93. poll <see cref="P:Microsoft.Extensions.Primitives.IChangeToken.HasChanged" /> to detect changes.</summary>
  94. <returns>
  95. <see langword="true" /> if the token will proactively raise callbacks; <see langword="false" /> otherwise.</returns>
  96. </member>
  97. <member name="P:Microsoft.Extensions.Primitives.IChangeToken.HasChanged">
  98. <summary>Gets a value that indicates if a change has occurred.</summary>
  99. <returns>
  100. <see langword="true" /> if a change has occurred; <see langword="false" /> otherwise.</returns>
  101. </member>
  102. <member name="T:Microsoft.Extensions.Primitives.StringSegment">
  103. <summary>An optimized representation of a substring.</summary>
  104. </member>
  105. <member name="F:Microsoft.Extensions.Primitives.StringSegment.Empty">
  106. <summary>A <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> for <see cref="F:System.String.Empty" />.</summary>
  107. </member>
  108. <member name="M:Microsoft.Extensions.Primitives.StringSegment.#ctor(System.String)">
  109. <summary>Initializes an instance of the <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> struct.</summary>
  110. <param name="buffer">
  111. The original <see cref="T:System.String" />. The <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> includes the whole <see cref="T:System.String" />.</param>
  112. </member>
  113. <member name="M:Microsoft.Extensions.Primitives.StringSegment.#ctor(System.String,System.Int32,System.Int32)">
  114. <summary>Initializes an instance of the <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> struct.</summary>
  115. <param name="buffer">The original <see cref="T:System.String" /> used as buffer.</param>
  116. <param name="offset">The offset of the segment within the <paramref name="buffer" />.</param>
  117. <param name="length">The length of the segment.</param>
  118. <exception cref="T:System.ArgumentNullException">
  119. <paramref name="buffer" /> is <see langword="null" />.</exception>
  120. <exception cref="T:System.ArgumentOutOfRangeException">
  121. <paramref name="offset" /> or <paramref name="length" /> is less than zero, or <paramref name="offset" /> +
  122. <paramref name="length" /> is greater than the number of characters in <paramref name="buffer" />.</exception>
  123. </member>
  124. <member name="M:Microsoft.Extensions.Primitives.StringSegment.AsMemory">
  125. <summary>Gets a <see cref="T:System.ReadOnlyMemory`1" /> from the current <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</summary>
  126. <returns>The <see cref="T:System.ReadOnlyMemory`1" /> from this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</returns>
  127. </member>
  128. <member name="M:Microsoft.Extensions.Primitives.StringSegment.AsSpan">
  129. <summary>Gets a <see cref="T:System.ReadOnlySpan`1" /> from the current <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</summary>
  130. <returns>The <see cref="T:System.ReadOnlySpan`1" /> from this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</returns>
  131. </member>
  132. <member name="M:Microsoft.Extensions.Primitives.StringSegment.Compare(Microsoft.Extensions.Primitives.StringSegment,Microsoft.Extensions.Primitives.StringSegment,System.StringComparison)">
  133. <summary>Compares substrings of two specified <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> objects using the specified rules,
  134. and returns an integer that indicates their relative position in the sort order.</summary>
  135. <param name="a">The first <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to compare.</param>
  136. <param name="b">The second <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to compare.</param>
  137. <param name="comparisonType">One of the enumeration values that specifies the rules for the comparison.</param>
  138. <returns>
  139. A 32-bit signed integer indicating the lexical relationship between the two comparands.
  140. The value is negative if <paramref name="a" /> is less than <paramref name="b" />, 0 if the two comparands are equal,
  141. and positive if <paramref name="a" /> is greater than <paramref name="b" />.
  142. .</returns>
  143. </member>
  144. <member name="M:Microsoft.Extensions.Primitives.StringSegment.EndsWith(System.String,System.StringComparison)">
  145. <summary>Checks if the end of this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> matches the specified <see cref="T:System.String" /> when compared using the specified <paramref name="comparisonType" />.</summary>
  146. <param name="text">The <see cref="T:System.String" />to compare.</param>
  147. <param name="comparisonType">One of the enumeration values that specifies the rules to use in the comparison.</param>
  148. <exception cref="T:System.ArgumentNullException">
  149. <paramref name="text" /> is <see langword="null" />.</exception>
  150. <returns>
  151. <see langword="true" /> if <paramref name="text" /> matches the end of this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />; otherwise, <see langword="false" />.</returns>
  152. </member>
  153. <member name="M:Microsoft.Extensions.Primitives.StringSegment.Equals(Microsoft.Extensions.Primitives.StringSegment)">
  154. <summary>Indicates whether the current object is equal to another object of the same type.</summary>
  155. <param name="other">An object to compare with this object.</param>
  156. <returns>
  157. <see langword="true" /> if the current object is equal to the other parameter; otherwise, <see langword="false" />.</returns>
  158. </member>
  159. <member name="M:Microsoft.Extensions.Primitives.StringSegment.Equals(Microsoft.Extensions.Primitives.StringSegment,Microsoft.Extensions.Primitives.StringSegment,System.StringComparison)">
  160. <summary>Determines whether two specified <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> objects have the same value. A parameter specifies the culture, case, and
  161. sort rules used in the comparison.</summary>
  162. <param name="a">The first <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to compare.</param>
  163. <param name="b">The second <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to compare.</param>
  164. <param name="comparisonType">One of the enumeration values that specifies the rules for the comparison.</param>
  165. <returns>
  166. <see langword="true" /> if the objects are equal; otherwise, <see langword="false" />.</returns>
  167. </member>
  168. <member name="M:Microsoft.Extensions.Primitives.StringSegment.Equals(Microsoft.Extensions.Primitives.StringSegment,System.StringComparison)">
  169. <summary>Indicates whether the current object is equal to another object of the same type.</summary>
  170. <param name="other">An object to compare with this object.</param>
  171. <param name="comparisonType">One of the enumeration values that specifies the rules to use in the comparison.</param>
  172. <returns>
  173. <see langword="true" /> if the current object is equal to the other parameter; otherwise, <see langword="false" />.</returns>
  174. </member>
  175. <member name="M:Microsoft.Extensions.Primitives.StringSegment.Equals(System.Object)">
  176. <param name="obj" />
  177. </member>
  178. <member name="M:Microsoft.Extensions.Primitives.StringSegment.Equals(System.String)">
  179. <summary>Checks if the specified <see cref="T:System.String" /> is equal to the current <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</summary>
  180. <param name="text">The <see cref="T:System.String" /> to compare with the current <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</param>
  181. <returns>
  182. <see langword="true" /> if the specified <see cref="T:System.String" /> is equal to the current <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />; otherwise, <see langword="false" />.</returns>
  183. </member>
  184. <member name="M:Microsoft.Extensions.Primitives.StringSegment.Equals(System.String,System.StringComparison)">
  185. <summary>Checks if the specified <see cref="T:System.String" /> is equal to the current <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</summary>
  186. <param name="text">The <see cref="T:System.String" /> to compare with the current <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</param>
  187. <param name="comparisonType">One of the enumeration values that specifies the rules to use in the comparison.</param>
  188. <exception cref="T:System.ArgumentNullException">
  189. <paramref name="text" /> is <see langword="null" />.</exception>
  190. <returns>
  191. <see langword="true" /> if the specified <see cref="T:System.String" /> is equal to the current <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />; otherwise, <see langword="false" />.</returns>
  192. </member>
  193. <member name="M:Microsoft.Extensions.Primitives.StringSegment.GetHashCode" />
  194. <member name="M:Microsoft.Extensions.Primitives.StringSegment.IndexOf(System.Char)">
  195. <summary>Gets the zero-based index of the first occurrence of the character <paramref name="c" /> in this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</summary>
  196. <param name="c">The Unicode character to seek.</param>
  197. <returns>The zero-based index position of <paramref name="c" /> from the beginning of the <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> if that character is found, or -1 if it is not.</returns>
  198. </member>
  199. <member name="M:Microsoft.Extensions.Primitives.StringSegment.IndexOf(System.Char,System.Int32)">
  200. <summary>Gets the zero-based index of the first occurrence of the character <paramref name="c" /> in this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.
  201. The search starts at <paramref name="start" />.</summary>
  202. <param name="c">The Unicode character to seek.</param>
  203. <param name="start">The zero-based index position at which the search starts.</param>
  204. <exception cref="T:System.ArgumentOutOfRangeException">
  205. <paramref name="start" /> is greater than or equal to <see cref="P:Microsoft.Extensions.Primitives.StringSegment.Length" /> or less than zero.</exception>
  206. <returns>The zero-based index position of <paramref name="c" /> from the beginning of the <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> if that character is found, or -1 if it is not.</returns>
  207. </member>
  208. <member name="M:Microsoft.Extensions.Primitives.StringSegment.IndexOf(System.Char,System.Int32,System.Int32)">
  209. <summary>Gets the zero-based index of the first occurrence of the character <paramref name="c" /> in this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.
  210. The search starts at <paramref name="start" /> and examines a specified number of <paramref name="count" /> character positions.</summary>
  211. <param name="c">The Unicode character to seek.</param>
  212. <param name="start">The zero-based index position at which the search starts.</param>
  213. <param name="count">The number of characters to examine.</param>
  214. <exception cref="T:System.ArgumentOutOfRangeException">
  215. <paramref name="start" /> or <paramref name="count" /> is less than zero, or <paramref name="start" /> + <paramref name="count" /> is
  216. greater than <see cref="P:Microsoft.Extensions.Primitives.StringSegment.Length" />.</exception>
  217. <returns>The zero-based index position of <paramref name="c" /> from the beginning of the <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> if that character is found, or -1 if it is not.</returns>
  218. </member>
  219. <member name="M:Microsoft.Extensions.Primitives.StringSegment.IndexOfAny(System.Char[])">
  220. <summary>Reports the zero-based index of the first occurrence in this instance of any character in a specified array
  221. of Unicode characters.</summary>
  222. <param name="anyOf">A Unicode character array containing one or more characters to seek.</param>
  223. <returns>The zero-based index position of the first occurrence in this instance where any character in <paramref name="anyOf" />
  224. was found; -1 if no character in <paramref name="anyOf" /> was found.</returns>
  225. </member>
  226. <member name="M:Microsoft.Extensions.Primitives.StringSegment.IndexOfAny(System.Char[],System.Int32)">
  227. <summary>Reports the zero-based index of the first occurrence in this instance of any character in a specified array
  228. of Unicode characters. The search starts at a specified character position.</summary>
  229. <param name="anyOf">A Unicode character array containing one or more characters to seek.</param>
  230. <param name="startIndex">The search starting position.</param>
  231. <exception cref="T:System.ArgumentOutOfRangeException">
  232. <paramref name="startIndex" /> is greater than or equal to <see cref="P:Microsoft.Extensions.Primitives.StringSegment.Length" /> or less than zero.</exception>
  233. <returns>The zero-based index position of the first occurrence in this instance where any character in <paramref name="anyOf" />
  234. was found; -1 if no character in <paramref name="anyOf" /> was found.</returns>
  235. </member>
  236. <member name="M:Microsoft.Extensions.Primitives.StringSegment.IndexOfAny(System.Char[],System.Int32,System.Int32)">
  237. <summary>Reports the zero-based index of the first occurrence in this instance of any character in a specified array
  238. of Unicode characters. The search starts at a specified character position and examines a specified number
  239. of character positions.</summary>
  240. <param name="anyOf">A Unicode character array containing one or more characters to seek.</param>
  241. <param name="startIndex">The search starting position.</param>
  242. <param name="count">The number of character positions to examine.</param>
  243. <exception cref="T:System.ArgumentNullException">
  244. <paramref name="anyOf" /> is <see langword="null" />.</exception>
  245. <exception cref="T:System.ArgumentOutOfRangeException">
  246. <paramref name="startIndex" /> or <paramref name="count" /> is less than zero, or <paramref name="startIndex" /> + <paramref name="count" /> is
  247. greater than <see cref="P:Microsoft.Extensions.Primitives.StringSegment.Length" />.</exception>
  248. <returns>The zero-based index position of the first occurrence in this instance where any character in <paramref name="anyOf" />
  249. was found; -1 if no character in <paramref name="anyOf" /> was found.</returns>
  250. </member>
  251. <member name="M:Microsoft.Extensions.Primitives.StringSegment.IsNullOrEmpty(Microsoft.Extensions.Primitives.StringSegment)">
  252. <summary>Indicates whether the specified <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> is null or an Empty string.</summary>
  253. <param name="value">The <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to test.</param>
  254. <returns />
  255. </member>
  256. <member name="M:Microsoft.Extensions.Primitives.StringSegment.LastIndexOf(System.Char)">
  257. <summary>Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance.</summary>
  258. <param name="value">The Unicode character to seek.</param>
  259. <returns>The zero-based index position of value if that character is found, or -1 if it is not.</returns>
  260. </member>
  261. <member name="M:Microsoft.Extensions.Primitives.StringSegment.op_Equality(Microsoft.Extensions.Primitives.StringSegment,Microsoft.Extensions.Primitives.StringSegment)">
  262. <summary>Checks if two specified <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> have the same value.</summary>
  263. <param name="left">The first <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to compare, or <see langword="null" />.</param>
  264. <param name="right">The second <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to compare, or <see langword="null" />.</param>
  265. <returns>
  266. <see langword="true" /> if the value of <paramref name="left" /> is the same as the value of <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  267. </member>
  268. <member name="M:Microsoft.Extensions.Primitives.StringSegment.op_Implicit(Microsoft.Extensions.Primitives.StringSegment)~System.ReadOnlyMemory{System.Char}">
  269. <summary>Creates a see <see cref="T:System.ReadOnlyMemory`1" /> from the given <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</summary>
  270. <param name="segment">The <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to convert to a <see cref="T:System.ReadOnlyMemory`1" />.</param>
  271. </member>
  272. <member name="M:Microsoft.Extensions.Primitives.StringSegment.op_Implicit(Microsoft.Extensions.Primitives.StringSegment)~System.ReadOnlySpan{System.Char}">
  273. <summary>Creates a see <see cref="T:System.ReadOnlySpan`1" /> from the given <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</summary>
  274. <param name="segment">The <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to convert to a <see cref="T:System.ReadOnlySpan`1" />.</param>
  275. </member>
  276. <member name="M:Microsoft.Extensions.Primitives.StringSegment.op_Implicit(System.String)~Microsoft.Extensions.Primitives.StringSegment">
  277. <summary>Creates a new <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> from the given <see cref="T:System.String" />.</summary>
  278. <param name="value">The <see cref="T:System.String" /> to convert to a <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /></param>
  279. </member>
  280. <member name="M:Microsoft.Extensions.Primitives.StringSegment.op_Inequality(Microsoft.Extensions.Primitives.StringSegment,Microsoft.Extensions.Primitives.StringSegment)">
  281. <summary>Checks if two specified <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> have different values.</summary>
  282. <param name="left">The first <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to compare, or <see langword="null" />.</param>
  283. <param name="right">The second <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to compare, or <see langword="null" />.</param>
  284. <returns>
  285. <see langword="true" /> if the value of <paramref name="left" /> is different from the value of <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  286. </member>
  287. <member name="M:Microsoft.Extensions.Primitives.StringSegment.Split(System.Char[])">
  288. <summary>Splits a string into <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />s that are based on the characters in an array.</summary>
  289. <param name="chars">A character array that delimits the substrings in this string, an empty array that
  290. contains no delimiters, or null.</param>
  291. <returns>An <see cref="T:Microsoft.Extensions.Primitives.StringTokenizer" /> whose elements contain the <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />s from this instance
  292. that are delimited by one or more characters in <paramref name="chars" />.</returns>
  293. </member>
  294. <member name="M:Microsoft.Extensions.Primitives.StringSegment.StartsWith(System.String,System.StringComparison)">
  295. <summary>Checks if the beginning of this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> matches the specified <see cref="T:System.String" /> when compared using the specified <paramref name="comparisonType" />.</summary>
  296. <param name="text">The <see cref="T:System.String" />to compare.</param>
  297. <param name="comparisonType">One of the enumeration values that specifies the rules to use in the comparison.</param>
  298. <exception cref="T:System.ArgumentNullException">
  299. <paramref name="text" /> is <see langword="null" />.</exception>
  300. <returns>
  301. <see langword="true" /> if <paramref name="text" /> matches the beginning of this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />; otherwise, <see langword="false" />.</returns>
  302. </member>
  303. <member name="M:Microsoft.Extensions.Primitives.StringSegment.Subsegment(System.Int32)">
  304. <summary>Retrieves a <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> that represents a substring from this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.
  305. The <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> starts at the position specified by <paramref name="offset" />.</summary>
  306. <param name="offset">The zero-based starting character position of a substring in this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</param>
  307. <exception cref="T:System.ArgumentOutOfRangeException">
  308. <paramref name="offset" /> is greater than or equal to <see cref="P:Microsoft.Extensions.Primitives.StringSegment.Length" /> or less than zero.</exception>
  309. <returns>A <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> that begins at <paramref name="offset" /> in this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />
  310. whose length is the remainder.</returns>
  311. </member>
  312. <member name="M:Microsoft.Extensions.Primitives.StringSegment.Subsegment(System.Int32,System.Int32)">
  313. <summary>Retrieves a <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> that represents a substring from this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.
  314. The <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> starts at the position specified by <paramref name="offset" /> and has the specified <paramref name="length" />.</summary>
  315. <param name="offset">The zero-based starting character position of a substring in this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</param>
  316. <param name="length">The number of characters in the substring.</param>
  317. <exception cref="T:System.ArgumentOutOfRangeException">
  318. <paramref name="offset" /> or <paramref name="length" /> is less than zero, or <paramref name="offset" /> + <paramref name="length" /> is
  319. greater than <see cref="P:Microsoft.Extensions.Primitives.StringSegment.Length" />.</exception>
  320. <returns>A <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> that is equivalent to the substring of length <paramref name="length" /> that begins at <paramref name="offset" /> in this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /></returns>
  321. </member>
  322. <member name="M:Microsoft.Extensions.Primitives.StringSegment.Substring(System.Int32)">
  323. <summary>Retrieves a substring from this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.
  324. The substring starts at the position specified by <paramref name="offset" /> and has the remaining length.</summary>
  325. <param name="offset">The zero-based starting character position of a substring in this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</param>
  326. <exception cref="T:System.ArgumentOutOfRangeException">
  327. <paramref name="offset" /> is greater than or equal to <see cref="P:Microsoft.Extensions.Primitives.StringSegment.Length" /> or less than zero.</exception>
  328. <returns>A <see cref="T:System.String" /> that is equivalent to the substring of remaining length that begins at
  329. <paramref name="offset" /> in this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /></returns>
  330. </member>
  331. <member name="M:Microsoft.Extensions.Primitives.StringSegment.Substring(System.Int32,System.Int32)">
  332. <summary>Retrieves a substring from this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.
  333. The substring starts at the position specified by <paramref name="offset" /> and has the specified <paramref name="length" />.</summary>
  334. <param name="offset">The zero-based starting character position of a substring in this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</param>
  335. <param name="length">The number of characters in the substring.</param>
  336. <exception cref="T:System.ArgumentOutOfRangeException">
  337. <paramref name="offset" /> or <paramref name="length" /> is less than zero, or <paramref name="offset" /> + <paramref name="length" /> is
  338. greater than <see cref="P:Microsoft.Extensions.Primitives.StringSegment.Length" />.</exception>
  339. <returns>A <see cref="T:System.String" /> that is equivalent to the substring of length <paramref name="length" /> that begins at
  340. <paramref name="offset" /> in this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /></returns>
  341. </member>
  342. <member name="M:Microsoft.Extensions.Primitives.StringSegment.ToString">
  343. <summary>Returns the <see cref="T:System.String" /> represented by this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> or <see cref="F:System.String.Empty" /> if the <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> does not contain a value.</summary>
  344. <returns>The <see cref="T:System.String" /> represented by this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> or <see cref="F:System.String.Empty" /> if the <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> does not contain a value.</returns>
  345. </member>
  346. <member name="M:Microsoft.Extensions.Primitives.StringSegment.Trim">
  347. <summary>Removes all leading and trailing whitespaces.</summary>
  348. <returns>The trimmed <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</returns>
  349. </member>
  350. <member name="M:Microsoft.Extensions.Primitives.StringSegment.TrimEnd">
  351. <summary>Removes all trailing whitespaces.</summary>
  352. <returns>The trimmed <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</returns>
  353. </member>
  354. <member name="M:Microsoft.Extensions.Primitives.StringSegment.TrimStart">
  355. <summary>Removes all leading whitespaces.</summary>
  356. <returns>The trimmed <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</returns>
  357. </member>
  358. <member name="P:Microsoft.Extensions.Primitives.StringSegment.Buffer">
  359. <summary>Gets the <see cref="T:System.String" /> buffer for this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</summary>
  360. <returns>The <see cref="T:System.String" /> buffer for this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</returns>
  361. </member>
  362. <member name="P:Microsoft.Extensions.Primitives.StringSegment.HasValue">
  363. <summary>Gets whether this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> contains a valid value.</summary>
  364. <returns>
  365. <see langword="true" /> if the <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> contains a valid value; <see langword="false" /> otherwise.</returns>
  366. </member>
  367. <member name="P:Microsoft.Extensions.Primitives.StringSegment.Item(System.Int32)">
  368. <summary>Gets the <see cref="T:System.Char" /> at a specified position in the current <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</summary>
  369. <param name="index">The offset into the <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /></param>
  370. <exception cref="T:System.ArgumentOutOfRangeException">
  371. <paramref name="index" /> is greater than or equal to <see cref="P:Microsoft.Extensions.Primitives.StringSegment.Length" /> or less than zero.</exception>
  372. <returns>The <see cref="T:System.Char" /> at a specified position.</returns>
  373. </member>
  374. <member name="P:Microsoft.Extensions.Primitives.StringSegment.Length">
  375. <summary>Gets the length of this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</summary>
  376. <returns>The length of this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</returns>
  377. </member>
  378. <member name="P:Microsoft.Extensions.Primitives.StringSegment.Offset">
  379. <summary>Gets the offset within the buffer for this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</summary>
  380. <returns>The offset within the buffer for this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</returns>
  381. </member>
  382. <member name="P:Microsoft.Extensions.Primitives.StringSegment.Value">
  383. <summary>Gets the value of this segment as a <see cref="T:System.String" />.</summary>
  384. <returns>The value of this segment as a <see cref="T:System.String" />.</returns>
  385. </member>
  386. <member name="T:Microsoft.Extensions.Primitives.StringSegmentComparer" />
  387. <member name="M:Microsoft.Extensions.Primitives.StringSegmentComparer.Compare(Microsoft.Extensions.Primitives.StringSegment,Microsoft.Extensions.Primitives.StringSegment)">
  388. <summary>Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.</summary>
  389. <param name="x">The first object to compare.</param>
  390. <param name="y">The second object to compare.</param>
  391. <returns>A signed integer that indicates the relative values of <paramref name="x" /> and <paramref name="y" />.</returns>
  392. </member>
  393. <member name="M:Microsoft.Extensions.Primitives.StringSegmentComparer.Equals(Microsoft.Extensions.Primitives.StringSegment,Microsoft.Extensions.Primitives.StringSegment)">
  394. <summary>Determines whether the specified objects are equal.</summary>
  395. <param name="x">The first object of type <paramref name="T" /> to compare.</param>
  396. <param name="y">The second object of type <paramref name="T" /> to compare.</param>
  397. <returns>
  398. <see langword="true" /> if the specified objects are equal; otherwise, <see langword="false" />.</returns>
  399. </member>
  400. <member name="M:Microsoft.Extensions.Primitives.StringSegmentComparer.GetHashCode(Microsoft.Extensions.Primitives.StringSegment)">
  401. <summary>Returns a hash code for the specified object.</summary>
  402. <param name="obj">The <see cref="T:System.Object" /> for which a hash code is to be returned.</param>
  403. <returns>A hash code for the specified object.</returns>
  404. </member>
  405. <member name="P:Microsoft.Extensions.Primitives.StringSegmentComparer.Ordinal" />
  406. <member name="P:Microsoft.Extensions.Primitives.StringSegmentComparer.OrdinalIgnoreCase" />
  407. <member name="T:Microsoft.Extensions.Primitives.StringTokenizer">
  408. <summary>Tokenizes a <see cref="T:System.String" /> into <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />s.</summary>
  409. </member>
  410. <member name="M:Microsoft.Extensions.Primitives.StringTokenizer.#ctor(Microsoft.Extensions.Primitives.StringSegment,System.Char[])">
  411. <summary>Initializes a new instance of <see cref="T:Microsoft.Extensions.Primitives.StringTokenizer" />.</summary>
  412. <param name="value">The <see cref="T:Microsoft.Extensions.Primitives.StringSegment" /> to tokenize.</param>
  413. <param name="separators">The characters to tokenize by.</param>
  414. </member>
  415. <member name="M:Microsoft.Extensions.Primitives.StringTokenizer.#ctor(System.String,System.Char[])">
  416. <summary>Initializes a new instance of <see cref="T:Microsoft.Extensions.Primitives.StringTokenizer" />.</summary>
  417. <param name="value">The <see cref="T:System.String" /> to tokenize.</param>
  418. <param name="separators">The characters to tokenize by.</param>
  419. </member>
  420. <member name="M:Microsoft.Extensions.Primitives.StringTokenizer.GetEnumerator" />
  421. <member name="M:Microsoft.Extensions.Primitives.StringTokenizer.System#Collections#Generic#IEnumerable{Microsoft#Extensions#Primitives#StringSegment}#GetEnumerator">
  422. <summary>Returns an enumerator that iterates through the collection.</summary>
  423. <returns>An enumerator that can be used to iterate through the collection.</returns>
  424. </member>
  425. <member name="M:Microsoft.Extensions.Primitives.StringTokenizer.System#Collections#IEnumerable#GetEnumerator">
  426. <summary>Returns an enumerator that iterates through a collection.</summary>
  427. <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
  428. </member>
  429. <member name="T:Microsoft.Extensions.Primitives.StringTokenizer.Enumerator" />
  430. <member name="M:Microsoft.Extensions.Primitives.StringTokenizer.Enumerator.#ctor(Microsoft.Extensions.Primitives.StringTokenizer@)">
  431. <param name="tokenizer" />
  432. </member>
  433. <member name="M:Microsoft.Extensions.Primitives.StringTokenizer.Enumerator.Dispose">
  434. <summary>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</summary>
  435. </member>
  436. <member name="M:Microsoft.Extensions.Primitives.StringTokenizer.Enumerator.MoveNext">
  437. <summary>Advances the enumerator to the next element of the collection.</summary>
  438. <returns>
  439. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the collection.</returns>
  440. </member>
  441. <member name="M:Microsoft.Extensions.Primitives.StringTokenizer.Enumerator.Reset">
  442. <summary>Sets the enumerator to its initial position, which is before the first element in the collection.</summary>
  443. </member>
  444. <member name="P:Microsoft.Extensions.Primitives.StringTokenizer.Enumerator.Current">
  445. <summary>Gets the element in the collection at the current position of the enumerator.</summary>
  446. <returns>The element in the collection at the current position of the enumerator.</returns>
  447. </member>
  448. <member name="P:Microsoft.Extensions.Primitives.StringTokenizer.Enumerator.System#Collections#IEnumerator#Current">
  449. <summary>Gets the element in the collection at the current position of the enumerator.</summary>
  450. <returns>The element in the collection at the current position of the enumerator.</returns>
  451. </member>
  452. <member name="T:Microsoft.Extensions.Primitives.StringValues">
  453. <summary>Represents zero/null, one, or many strings in an efficient way.</summary>
  454. </member>
  455. <member name="F:Microsoft.Extensions.Primitives.StringValues.Empty">
  456. <summary>A readonly instance of the <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> struct whose value is an empty string array.</summary>
  457. </member>
  458. <member name="M:Microsoft.Extensions.Primitives.StringValues.#ctor(System.String)">
  459. <summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> structure using the specified string.</summary>
  460. <param name="value">A string value or <see langword="null" />.</param>
  461. </member>
  462. <member name="M:Microsoft.Extensions.Primitives.StringValues.#ctor(System.String[])">
  463. <summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> structure using the specified array of strings.</summary>
  464. <param name="values">A string array.</param>
  465. </member>
  466. <member name="M:Microsoft.Extensions.Primitives.StringValues.Concat(Microsoft.Extensions.Primitives.StringValues,Microsoft.Extensions.Primitives.StringValues)">
  467. <summary>Concatenates two specified instances of <see cref="T:Microsoft.Extensions.Primitives.StringValues" />.</summary>
  468. <param name="values1">The first <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to concatenate.</param>
  469. <param name="values2">The second <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to concatenate.</param>
  470. <returns>The concatenation of <paramref name="values1" /> and <paramref name="values2" />.</returns>
  471. </member>
  472. <member name="M:Microsoft.Extensions.Primitives.StringValues.Concat(Microsoft.Extensions.Primitives.StringValues@,System.String)">
  473. <summary>Concatenates specified instance of <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> with specified <see cref="T:System.String" />.</summary>
  474. <param name="values">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to concatenate.</param>
  475. <param name="value">The string to concatenate.</param>
  476. <returns>The concatenation of <paramref name="values" /> and <paramref name="value" />.</returns>
  477. </member>
  478. <member name="M:Microsoft.Extensions.Primitives.StringValues.Concat(System.String,Microsoft.Extensions.Primitives.StringValues@)">
  479. <summary>Concatenates specified instance of <see cref="T:System.String" /> with specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" />.</summary>
  480. <param name="value">The string to concatenate.</param>
  481. <param name="values">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to concatenate.</param>
  482. <returns>The concatenation of <paramref name="values" /> and <paramref name="values" />.</returns>
  483. </member>
  484. <member name="M:Microsoft.Extensions.Primitives.StringValues.Equals(Microsoft.Extensions.Primitives.StringValues)">
  485. <summary>Determines whether this instance and another specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> object have the same values.</summary>
  486. <param name="other">The string to compare to this instance.</param>
  487. <returns>
  488. <see langword="true" /> if the value of <paramref name="other" /> is the same as the value of this instance; otherwise, <see langword="false" />.</returns>
  489. </member>
  490. <member name="M:Microsoft.Extensions.Primitives.StringValues.Equals(Microsoft.Extensions.Primitives.StringValues,Microsoft.Extensions.Primitives.StringValues)">
  491. <summary>Determines whether two specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> objects have the same values in the same order.</summary>
  492. <param name="left">The first <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  493. <param name="right">The second <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  494. <returns>
  495. <see langword="true" /> if the value of <paramref name="left" /> is the same as the value of <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  496. </member>
  497. <member name="M:Microsoft.Extensions.Primitives.StringValues.Equals(Microsoft.Extensions.Primitives.StringValues,System.String)">
  498. <summary>Determines whether the specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> and <see cref="T:System.String" /> objects have the same values.</summary>
  499. <param name="left">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  500. <param name="right">The <see cref="T:System.String" /> to compare.</param>
  501. <returns>
  502. <see langword="true" /> if the value of <paramref name="left" /> is the same as the value of <paramref name="right" />; otherwise, <see langword="false" />. If <paramref name="right" /> is <see langword="null" />, the method returns <see langword="false" />.</returns>
  503. </member>
  504. <member name="M:Microsoft.Extensions.Primitives.StringValues.Equals(Microsoft.Extensions.Primitives.StringValues,System.String[])">
  505. <summary>Determines whether the specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> and string array objects have the same values.</summary>
  506. <param name="left">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  507. <param name="right">The string array to compare.</param>
  508. <returns>
  509. <see langword="true" /> if the value of <paramref name="left" /> is the same as the value of <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  510. </member>
  511. <member name="M:Microsoft.Extensions.Primitives.StringValues.Equals(System.Object)">
  512. <summary>Determines whether this instance and a specified object have the same value.</summary>
  513. <param name="obj">An object to compare with this object.</param>
  514. <returns>
  515. <see langword="true" /> if the current object is equal to <paramref name="obj" />; otherwise, <see langword="false" />.</returns>
  516. </member>
  517. <member name="M:Microsoft.Extensions.Primitives.StringValues.Equals(System.String)">
  518. <summary>Determines whether this instance and a specified string have the same value.</summary>
  519. <param name="other">The string to compare to this instance.</param>
  520. <returns>
  521. <see langword="true" /> if the value of <paramref name="other" /> is the same as this instance; otherwise, <see langword="false" />. If <paramref name="other" /> is <see langword="null" />, returns <see langword="false" />.</returns>
  522. </member>
  523. <member name="M:Microsoft.Extensions.Primitives.StringValues.Equals(System.String,Microsoft.Extensions.Primitives.StringValues)">
  524. <summary>Determines whether the specified <see cref="T:System.String" /> and <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> objects have the same values.</summary>
  525. <param name="left">The string to compare.</param>
  526. <param name="right">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  527. <returns>
  528. <see langword="true" /> if the value of <paramref name="left" /> is the same as the value of <paramref name="right" />; otherwise, <see langword="false" />. If <paramref name="left" /> is <see langword="null" />, the method returns <see langword="false" />.</returns>
  529. </member>
  530. <member name="M:Microsoft.Extensions.Primitives.StringValues.Equals(System.String[])">
  531. <summary>Determines whether this instance and a specified string array have the same values.</summary>
  532. <param name="other">The string array to compare to this instance.</param>
  533. <returns>
  534. <see langword="true" /> if the value of <paramref name="other" /> is the same as this instance; otherwise, <see langword="false" />.</returns>
  535. </member>
  536. <member name="M:Microsoft.Extensions.Primitives.StringValues.Equals(System.String[],Microsoft.Extensions.Primitives.StringValues)">
  537. <summary>Determines whether the specified string array and <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> objects have the same values.</summary>
  538. <param name="left">The string array to compare.</param>
  539. <param name="right">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  540. <returns>
  541. <see langword="true" /> if the value of <paramref name="left" /> is the same as the value of <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  542. </member>
  543. <member name="M:Microsoft.Extensions.Primitives.StringValues.GetEnumerator">
  544. <summary>Retrieves an object that can iterate through the individual strings in this <see cref="T:Microsoft.Extensions.Primitives.StringValues" />.</summary>
  545. <returns>An enumerator that can be used to iterate through the <see cref="T:Microsoft.Extensions.Primitives.StringValues" />.</returns>
  546. </member>
  547. <member name="M:Microsoft.Extensions.Primitives.StringValues.GetHashCode" />
  548. <member name="M:Microsoft.Extensions.Primitives.StringValues.IsNullOrEmpty(Microsoft.Extensions.Primitives.StringValues)">
  549. <summary>Indicates whether the specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> contains no string values.</summary>
  550. <param name="value">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to test.</param>
  551. <returns>
  552. <see langword="true" /> if <paramref name="value">value</paramref> contains a single <see langword="null" /> string or empty array; otherwise, <see langword="false" />.</returns>
  553. </member>
  554. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Equality(Microsoft.Extensions.Primitives.StringValues,Microsoft.Extensions.Primitives.StringValues)">
  555. <summary>Determines whether two specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> have the same values.</summary>
  556. <param name="left">The first <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  557. <param name="right">The second <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  558. <returns>
  559. <see langword="true" /> if the value of <paramref name="left" /> is the same as the value of <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  560. </member>
  561. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Equality(Microsoft.Extensions.Primitives.StringValues,System.Object)">
  562. <summary>Determines whether the specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> and <see cref="T:System.Object" />, which must be a <see cref="T:Microsoft.Extensions.Primitives.StringValues" />, <see cref="T:System.String" />, or array of <see cref="T:System.String" />, have the same value.</summary>
  563. <param name="left">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  564. <param name="right">The <see cref="T:System.Object" /> to compare.</param>
  565. <returns>
  566. <see langword="true" /> if the <paramref name="left" /> object is equal to the <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  567. </member>
  568. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Equality(Microsoft.Extensions.Primitives.StringValues,System.String)">
  569. <param name="left" />
  570. <param name="right" />
  571. </member>
  572. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Equality(Microsoft.Extensions.Primitives.StringValues,System.String[])">
  573. <param name="left" />
  574. <param name="right" />
  575. </member>
  576. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Equality(System.Object,Microsoft.Extensions.Primitives.StringValues)">
  577. <summary>Determines whether the specified <see cref="T:System.Object" />, which must be a <see cref="T:Microsoft.Extensions.Primitives.StringValues" />, <see cref="T:System.String" />, or array of <see cref="T:System.String" />, and specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" />, have the same value.</summary>
  578. <param name="left">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  579. <param name="right">The <see cref="T:System.Object" /> to compare.</param>
  580. <returns>
  581. <see langword="true" /> if the <paramref name="left" /> object is equal to the <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  582. </member>
  583. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Equality(System.String,Microsoft.Extensions.Primitives.StringValues)">
  584. <param name="left" />
  585. <param name="right" />
  586. </member>
  587. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Equality(System.String[],Microsoft.Extensions.Primitives.StringValues)">
  588. <param name="left" />
  589. <param name="right" />
  590. </member>
  591. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Implicit(Microsoft.Extensions.Primitives.StringValues)~System.String">
  592. <summary>Defines an implicit conversion of a given <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to a string, with multiple values joined as a comma separated string.</summary>
  593. <param name="values">A <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to implicitly convert.</param>
  594. <returns>Returns <see langword="null" /> where <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> has been initialized from an empty string array or is <see cref="P:Microsoft.Extensions.Primitives.StringValues.Empty" />. Otherwise, it returns the implicit conversion of <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to a string.</returns>
  595. </member>
  596. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Implicit(Microsoft.Extensions.Primitives.StringValues)~System.String[]">
  597. <summary>Defines an implicit conversion of a given <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to a string array.</summary>
  598. <param name="value">A <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to implicitly convert.</param>
  599. </member>
  600. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Implicit(System.String)~Microsoft.Extensions.Primitives.StringValues">
  601. <summary>Defines an implicit conversion of a given string to a <see cref="T:Microsoft.Extensions.Primitives.StringValues" />.</summary>
  602. <param name="value">A string to implicitly convert.</param>
  603. </member>
  604. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Implicit(System.String[])~Microsoft.Extensions.Primitives.StringValues">
  605. <summary>Defines an implicit conversion of a given string array to a <see cref="T:Microsoft.Extensions.Primitives.StringValues" />.</summary>
  606. <param name="values">A string array to implicitly convert.</param>
  607. </member>
  608. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Inequality(Microsoft.Extensions.Primitives.StringValues,Microsoft.Extensions.Primitives.StringValues)">
  609. <summary>Determines whether two specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> have different values.</summary>
  610. <param name="left">The first <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  611. <param name="right">The second <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  612. <returns>
  613. <see langword="true" /> if the value of <paramref name="left" /> is different to the value of <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  614. </member>
  615. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Inequality(Microsoft.Extensions.Primitives.StringValues,System.Object)">
  616. <summary>Determines whether the specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> and <see cref="T:System.Object" />, which must be a <see cref="T:Microsoft.Extensions.Primitives.StringValues" />, <see cref="T:System.String" />, or array of <see cref="T:System.String" />, have different values.</summary>
  617. <param name="left">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  618. <param name="right">The <see cref="T:System.Object" /> to compare.</param>
  619. <returns>
  620. <see langword="true" /> if the <paramref name="left" /> object is equal to the <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  621. </member>
  622. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Inequality(Microsoft.Extensions.Primitives.StringValues,System.String)">
  623. <summary>Determines whether the specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> and <see cref="T:System.String" /> objects have different values.</summary>
  624. <param name="left">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  625. <param name="right">The <see cref="T:System.String" /> to compare.</param>
  626. <returns>
  627. <see langword="true" /> if the value of <paramref name="left" /> is different to the value of <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  628. </member>
  629. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Inequality(Microsoft.Extensions.Primitives.StringValues,System.String[])">
  630. <summary>Determines whether the specified <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> and string array have different values.</summary>
  631. <param name="left">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  632. <param name="right">The string array to compare.</param>
  633. <returns>
  634. <see langword="true" /> if the value of <paramref name="left" /> is different to the value of <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  635. </member>
  636. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Inequality(System.Object,Microsoft.Extensions.Primitives.StringValues)">
  637. <summary>Determines whether the specified <see cref="T:System.Object" /> and <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> object have the same values.</summary>
  638. <param name="left">The <see cref="T:System.Object" /> to compare.</param>
  639. <param name="right">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  640. <returns>
  641. <see langword="true" /> if the <paramref name="left" /> object is equal to the <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  642. </member>
  643. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Inequality(System.String,Microsoft.Extensions.Primitives.StringValues)">
  644. <summary>Determines whether the specified <see cref="T:System.String" /> and <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> objects have different values.</summary>
  645. <param name="left">The string to compare.</param>
  646. <param name="right">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  647. <returns>
  648. <see langword="true" /> if the value of <paramref name="left" /> is different to the value of <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  649. </member>
  650. <member name="M:Microsoft.Extensions.Primitives.StringValues.op_Inequality(System.String[],Microsoft.Extensions.Primitives.StringValues)">
  651. <summary>Determines whether the specified string array and <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> have different values.</summary>
  652. <param name="left">The string array to compare.</param>
  653. <param name="right">The <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> to compare.</param>
  654. <returns>
  655. <see langword="true" /> if the value of <paramref name="left" /> is different to the value of <paramref name="right" />; otherwise, <see langword="false" />.</returns>
  656. </member>
  657. <member name="M:Microsoft.Extensions.Primitives.StringValues.System#Collections#Generic#ICollection{System#String}#Add(System.String)">
  658. <summary>Adds an item to the collection.</summary>
  659. <param name="item">The object to add to the collection.</param>
  660. </member>
  661. <member name="M:Microsoft.Extensions.Primitives.StringValues.System#Collections#Generic#ICollection{System#String}#Clear">
  662. <summary>Removes all items from the collection.</summary>
  663. </member>
  664. <member name="M:Microsoft.Extensions.Primitives.StringValues.System#Collections#Generic#ICollection{System#String}#Contains(System.String)">
  665. <summary>Determines whether a string is in the <see cref="T:Microsoft.Extensions.Primitives.StringValues" />.</summary>
  666. <param name="item">The string to locate in the <see cref="T:Microsoft.Extensions.Primitives.StringValues" />.</param>
  667. <returns>
  668. <see langword="true" /> if <paramref name="item" /> is found in the <see cref="T:Microsoft.Extensions.Primitives.StringValues" />; otherwise, <see langword="false" />.</returns>
  669. </member>
  670. <member name="M:Microsoft.Extensions.Primitives.StringValues.System#Collections#Generic#ICollection{System#String}#CopyTo(System.String[],System.Int32)">
  671. <summary>Copies the entire <see cref="T:Microsoft.Extensions.Primitives.StringValues" />to a string array, starting at the specified index of the target array.</summary>
  672. <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from. The <see cref="T:System.Array" /> must have zero-based indexing.</param>
  673. <param name="arrayIndex">The zero-based index in the destination array at which copying begins.</param>
  674. </member>
  675. <member name="M:Microsoft.Extensions.Primitives.StringValues.System#Collections#Generic#ICollection{System#String}#Remove(System.String)">
  676. <summary>Removes the first occurrence of a specific object from the collection.</summary>
  677. <param name="item">The object to remove from the collection.</param>
  678. <returns>
  679. <see langword="true" /> if <paramref name="item" /> was successfully removed from the collection; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original collection.</returns>
  680. </member>
  681. <member name="M:Microsoft.Extensions.Primitives.StringValues.System#Collections#Generic#IEnumerable{System#String}#GetEnumerator">
  682. <summary>Returns an enumerator that iterates through the collection.</summary>
  683. <returns>An enumerator that can be used to iterate through the collection.</returns>
  684. </member>
  685. <member name="M:Microsoft.Extensions.Primitives.StringValues.System#Collections#Generic#IList{System#String}#IndexOf(System.String)">
  686. <summary>Returns the zero-based index of the first occurrence of an item in the <see cref="T:Microsoft.Extensions.Primitives.StringValues" />.</summary>
  687. <param name="item">The string to locate in the <see cref="T:Microsoft.Extensions.Primitives.StringValues" />.</param>
  688. <returns>the zero-based index of the first occurrence of <paramref name="item" /> within the <see cref="T:Microsoft.Extensions.Primitives.StringValues" />, if found; otherwise, –1.</returns>
  689. </member>
  690. <member name="M:Microsoft.Extensions.Primitives.StringValues.System#Collections#Generic#IList{System#String}#Insert(System.Int32,System.String)">
  691. <summary>Inserts an item to the <see cref="T:System.Collections.Generic.IList`1" /> at the specified index.</summary>
  692. <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
  693. <param name="item">The object to insert into the <see cref="T:System.Collections.Generic.IList`1" />.</param>
  694. </member>
  695. <member name="M:Microsoft.Extensions.Primitives.StringValues.System#Collections#Generic#IList{System#String}#RemoveAt(System.Int32)">
  696. <summary>Removes the <see cref="T:System.Collections.Generic.IList`1" /> item at the specified index.</summary>
  697. <param name="index">The zero-based index of the item to remove.</param>
  698. </member>
  699. <member name="M:Microsoft.Extensions.Primitives.StringValues.System#Collections#IEnumerable#GetEnumerator">
  700. <summary>Returns an enumerator that iterates through a collection.</summary>
  701. <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
  702. </member>
  703. <member name="M:Microsoft.Extensions.Primitives.StringValues.ToArray">
  704. <summary>Creates a string array from the current <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> object.</summary>
  705. <returns>A string array represented by this instance.</returns>
  706. </member>
  707. <member name="M:Microsoft.Extensions.Primitives.StringValues.ToString">
  708. <summary>Converts the value of the current <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> object to its equivalent string representation, with multiple values joined as a comma separated string.</summary>
  709. <returns>A string representation of the value of the current <see cref="T:Microsoft.Extensions.Primitives.StringValues" /> object.</returns>
  710. </member>
  711. <member name="P:Microsoft.Extensions.Primitives.StringValues.Count">
  712. <summary>Gets the number of string elements contained in this <see cref="T:Microsoft.Extensions.Primitives.StringValues" />.</summary>
  713. <returns>The number of string elements contained in this <see cref="T:Microsoft.Extensions.Primitives.StringValues" />.</returns>
  714. </member>
  715. <member name="P:Microsoft.Extensions.Primitives.StringValues.Item(System.Int32)">
  716. <summary>Gets the string at index.</summary>
  717. <param name="index">The zero-based index of the element to get.</param>
  718. <returns>The string at the specified index.</returns>
  719. </member>
  720. <member name="P:Microsoft.Extensions.Primitives.StringValues.System#Collections#Generic#ICollection{System#String}#IsReadOnly">
  721. <summary>Gets a value indicating whether the collection is read-only.</summary>
  722. <returns>
  723. <see langword="true" /> if the collection is read-only; otherwise, <see langword="false" />.</returns>
  724. </member>
  725. <member name="P:Microsoft.Extensions.Primitives.StringValues.System#Collections#Generic#IList{System#String}#Item(System.Int32)">
  726. <summary>Gets the <see cref="T:System.String" /> at index.</summary>
  727. <param name="index">The zero-based index of the element to get.</param>
  728. <returns>The string at the specified index.</returns>
  729. </member>
  730. <member name="T:Microsoft.Extensions.Primitives.StringValues.Enumerator">
  731. <summary>Enumerates the string values of a <see cref="T:Microsoft.Extensions.Primitives.StringValues" />.</summary>
  732. </member>
  733. <member name="M:Microsoft.Extensions.Primitives.StringValues.Enumerator.#ctor(Microsoft.Extensions.Primitives.StringValues@)">
  734. <param name="values" />
  735. </member>
  736. <member name="M:Microsoft.Extensions.Primitives.StringValues.Enumerator.Dispose">
  737. <summary>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</summary>
  738. </member>
  739. <member name="M:Microsoft.Extensions.Primitives.StringValues.Enumerator.MoveNext">
  740. <summary>Advances the enumerator to the next element of the collection.</summary>
  741. <returns>
  742. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the collection.</returns>
  743. </member>
  744. <member name="M:Microsoft.Extensions.Primitives.StringValues.Enumerator.System#Collections#IEnumerator#Reset">
  745. <summary>Sets the enumerator to its initial position, which is before the first element in the collection.</summary>
  746. </member>
  747. <member name="P:Microsoft.Extensions.Primitives.StringValues.Enumerator.Current">
  748. <summary>Gets the element in the collection at the current position of the enumerator.</summary>
  749. <returns>The element in the collection at the current position of the enumerator.</returns>
  750. </member>
  751. <member name="P:Microsoft.Extensions.Primitives.StringValues.Enumerator.System#Collections#IEnumerator#Current">
  752. <summary>Gets the element in the collection at the current position of the enumerator.</summary>
  753. <returns>The element in the collection at the current position of the enumerator.</returns>
  754. </member>
  755. </members>
  756. </doc>