暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Microsoft.Extensions.Primitives.xml 67KB

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