1 <?xml version="1.0" encoding="utf-8"?><span>
4 <name>System.Globalization.Extensions</name>
7 <member name="T:System.Globalization.GlobalizationExtensions">
10 <member name="M:System.Globalization.GlobalizationExtensions.GetStringComparer(System.Globalization.CompareInfo,System.Globalization.CompareOptions)">
11 <param name="compareInfo"></param>
12 <param name="options"></param>
15 <member name="T:System.Globalization.IdnMapping">
16 <summary>Supports the use of non-ASCII characters for Internet domain names. This class cannot be inherited.</summary>
18 <member name="M:System.Globalization.IdnMapping.#ctor">
19 <summary>Initializes a new instance of the <see cref="T:System.Globalization.IdnMapping"></see> class.</summary>
21 <member name="P:System.Globalization.IdnMapping.AllowUnassigned">
22 <summary>Gets or sets a value that indicates whether unassigned Unicode code points are used in operations performed by members of the current <see cref="T:System.Globalization.IdnMapping"></see> object.</summary>
23 <returns>true if unassigned code points are used in operations; otherwise, false.</returns>
25 <member name="M:System.Globalization.IdnMapping.Equals(System.Object)">
26 <summary>Indicates whether a specified object and the current <see cref="T:System.Globalization.IdnMapping"></see> object are equal.</summary>
27 <param name="obj">The object to compare to the current object.</param>
28 <returns>true if the object specified by the <paramref name="obj">obj</paramref> parameter is derived from <see cref="T:System.Globalization.IdnMapping"></see> and its <see cref="P:System.Globalization.IdnMapping.AllowUnassigned"></see> and <see cref="P:System.Globalization.IdnMapping.UseStd3AsciiRules"></see> properties are equal; otherwise, false.</returns>
30 <member name="M:System.Globalization.IdnMapping.GetAscii(System.String)">
31 <summary>Encodes a string of domain name labels that consist of Unicode characters to a string of displayable Unicode characters in the US-ASCII character range. The string is formatted according to the IDNA standard.</summary>
32 <param name="unicode">The string to convert, which consists of one or more domain name labels delimited with label separators.</param>
33 <returns>The equivalent of the string specified by the <paramref name="unicode">unicode</paramref> parameter, consisting of displayable Unicode characters in the US-ASCII character range (U+0020 to U+007E) and formatted according to the IDNA standard.</returns>
34 <exception cref="T:System.ArgumentNullException"><paramref name="unicode">unicode</paramref> is null.</exception>
35 <exception cref="T:System.ArgumentException"><paramref name="unicode">unicode</paramref> is invalid based on the <see cref="P:System.Globalization.IdnMapping.AllowUnassigned"></see> and <see cref="P:System.Globalization.IdnMapping.UseStd3AsciiRules"></see> properties, and the IDNA standard.</exception>
37 <member name="M:System.Globalization.IdnMapping.GetAscii(System.String,System.Int32)">
38 <summary>Encodes a substring of domain name labels that include Unicode characters outside the US-ASCII character range. The substring is converted to a string of displayable Unicode characters in the US-ASCII character range and is formatted according to the IDNA standard.</summary>
39 <param name="unicode">The string to convert, which consists of one or more domain name labels delimited with label separators.</param>
40 <param name="index">A zero-based offset into unicode that specifies the start of the substring to convert. The conversion operation continues to the end of the unicode string.</param>
41 <returns>The equivalent of the substring specified by the <paramref name="unicode">unicode</paramref> and <paramref name="index">index</paramref> parameters, consisting of displayable Unicode characters in the US-ASCII character range (U+0020 to U+007E) and formatted according to the IDNA standard.</returns>
42 <exception cref="T:System.ArgumentNullException"><paramref name="unicode">unicode</paramref> is null.</exception>
43 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index">index</paramref> is less than zero. -or- <paramref name="index">index</paramref> is greater than the length of <paramref name="unicode">unicode</paramref>.</exception>
44 <exception cref="T:System.ArgumentException"><paramref name="unicode">unicode</paramref> is invalid based on the <see cref="P:System.Globalization.IdnMapping.AllowUnassigned"></see> and <see cref="P:System.Globalization.IdnMapping.UseStd3AsciiRules"></see> properties, and the IDNA standard.</exception>
46 <member name="M:System.Globalization.IdnMapping.GetAscii(System.String,System.Int32,System.Int32)">
47 <summary>Encodes the specified number of characters in a substring of domain name labels that include Unicode characters outside the US-ASCII character range. The substring is converted to a string of displayable Unicode characters in the US-ASCII character range and is formatted according to the IDNA standard.</summary>
48 <param name="unicode">The string to convert, which consists of one or more domain name labels delimited with label separators.</param>
49 <param name="index">A zero-based offset into unicode that specifies the start of the substring.</param>
50 <param name="count">The number of characters to convert in the substring that starts at the position specified by index in the unicode string.</param>
51 <returns>The equivalent of the substring specified by the <paramref name="unicode">unicode</paramref>, <paramref name="index">index</paramref>, and <paramref name="count">count</paramref> parameters, consisting of displayable Unicode characters in the US-ASCII character range (U+0020 to U+007E) and formatted according to the IDNA standard.</returns>
52 <exception cref="T:System.ArgumentNullException"><paramref name="unicode">unicode</paramref> is null.</exception>
53 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index">index</paramref> or <paramref name="count">count</paramref> is less than zero. -or- <paramref name="index">index</paramref> is greater than the length of <paramref name="unicode">unicode</paramref>. -or- <paramref name="index">index</paramref> is greater than the length of <paramref name="unicode">unicode</paramref> minus <paramref name="count">count</paramref>.</exception>
54 <exception cref="T:System.ArgumentException"><paramref name="unicode">unicode</paramref> is invalid based on the <see cref="P:System.Globalization.IdnMapping.AllowUnassigned"></see> and <see cref="P:System.Globalization.IdnMapping.UseStd3AsciiRules"></see> properties, and the IDNA standard.</exception>
56 <member name="M:System.Globalization.IdnMapping.GetHashCode">
57 <summary>Returns a hash code for this <see cref="T:System.Globalization.IdnMapping"></see> object.</summary>
58 <returns>One of four 32-bit signed constants derived from the properties of an <see cref="T:System.Globalization.IdnMapping"></see> object. The return value has no special meaning and is not suitable for use in a hash code algorithm.</returns>
60 <member name="M:System.Globalization.IdnMapping.GetUnicode(System.String)">
61 <summary>Decodes a string of one or more domain name labels, encoded according to the IDNA standard, to a string of Unicode characters.</summary>
62 <param name="ascii">The string to decode, which consists of one or more labels in the US-ASCII character range (U+0020 to U+007E) encoded according to the IDNA standard.</param>
63 <returns>The Unicode equivalent of the IDNA substring specified by the <paramref name="ascii">ascii</paramref> parameter.</returns>
64 <exception cref="T:System.ArgumentNullException"><paramref name="ascii">ascii</paramref> is null.</exception>
65 <exception cref="T:System.ArgumentException"><paramref name="ascii">ascii</paramref> is invalid based on the <see cref="P:System.Globalization.IdnMapping.AllowUnassigned"></see> and <see cref="P:System.Globalization.IdnMapping.UseStd3AsciiRules"></see> properties, and the IDNA standard.</exception>
67 <member name="M:System.Globalization.IdnMapping.GetUnicode(System.String,System.Int32)">
68 <summary>Decodes a substring of one or more domain name labels, encoded according to the IDNA standard, to a string of Unicode characters.</summary>
69 <param name="ascii">The string to decode, which consists of one or more labels in the US-ASCII character range (U+0020 to U+007E) encoded according to the IDNA standard.</param>
70 <param name="index">A zero-based offset into ascii that specifies the start of the substring to decode. The decoding operation continues to the end of the ascii string.</param>
71 <returns>The Unicode equivalent of the IDNA substring specified by the <paramref name="ascii">ascii</paramref> and <paramref name="index">index</paramref> parameters.</returns>
72 <exception cref="T:System.ArgumentNullException"><paramref name="ascii">ascii</paramref> is null.</exception>
73 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index">index</paramref> is less than zero. -or- <paramref name="index">index</paramref> is greater than the length of <paramref name="ascii">ascii</paramref>.</exception>
74 <exception cref="T:System.ArgumentException"><paramref name="ascii">ascii</paramref> is invalid based on the <see cref="P:System.Globalization.IdnMapping.AllowUnassigned"></see> and <see cref="P:System.Globalization.IdnMapping.UseStd3AsciiRules"></see> properties, and the IDNA standard.</exception>
76 <member name="M:System.Globalization.IdnMapping.GetUnicode(System.String,System.Int32,System.Int32)">
77 <summary>Decodes a substring of a specified length that contains one or more domain name labels, encoded according to the IDNA standard, to a string of Unicode characters.</summary>
78 <param name="ascii">The string to decode, which consists of one or more labels in the US-ASCII character range (U+0020 to U+007E) encoded according to the IDNA standard.</param>
79 <param name="index">A zero-based offset into ascii that specifies the start of the substring.</param>
80 <param name="count">The number of characters to convert in the substring that starts at the position specified by index in the ascii string.</param>
81 <returns>The Unicode equivalent of the IDNA substring specified by the <paramref name="ascii">ascii</paramref>, <paramref name="index">index</paramref>, and <paramref name="count">count</paramref> parameters.</returns>
82 <exception cref="T:System.ArgumentNullException"><paramref name="ascii">ascii</paramref> is null.</exception>
83 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index">index</paramref> or <paramref name="count">count</paramref> is less than zero. -or- <paramref name="index">index</paramref> is greater than the length of <paramref name="ascii">ascii</paramref>. -or- <paramref name="index">index</paramref> is greater than the length of <paramref name="ascii">ascii</paramref> minus <paramref name="count">count</paramref>.</exception>
84 <exception cref="T:System.ArgumentException"><paramref name="ascii">ascii</paramref> is invalid based on the <see cref="P:System.Globalization.IdnMapping.AllowUnassigned"></see> and <see cref="P:System.Globalization.IdnMapping.UseStd3AsciiRules"></see> properties, and the IDNA standard.</exception>
86 <member name="P:System.Globalization.IdnMapping.UseStd3AsciiRules">
87 <summary>Gets or sets a value that indicates whether standard or relaxed naming conventions are used in operations performed by members of the current <see cref="T:System.Globalization.IdnMapping"></see> object.</summary>
88 <returns>true if standard naming conventions are used in operations; otherwise, false.</returns>
90 <member name="T:System.StringNormalizationExtensions">
93 <member name="M:System.StringNormalizationExtensions.IsNormalized(System.String)">
94 <param name="value"></param>
97 <member name="M:System.StringNormalizationExtensions.IsNormalized(System.String,System.Text.NormalizationForm)">
98 <param name="value"></param>
99 <param name="normalizationForm"></param>
102 <member name="M:System.StringNormalizationExtensions.Normalize(System.String)">
103 <param name="value"></param>
106 <member name="M:System.StringNormalizationExtensions.Normalize(System.String,System.Text.NormalizationForm)">
107 <param name="value"></param>
108 <param name="normalizationForm"></param>
111 <member name="T:System.Text.NormalizationForm">
112 <summary>Defines the type of normalization to perform.</summary>
114 <member name="F:System.Text.NormalizationForm.FormC">
115 <summary>Indicates that a Unicode string is normalized using full canonical decomposition, followed by the replacement of sequences with their primary composites, if possible.</summary>
118 <member name="F:System.Text.NormalizationForm.FormD">
119 <summary>Indicates that a Unicode string is normalized using full canonical decomposition.</summary>
122 <member name="F:System.Text.NormalizationForm.FormKC">
123 <summary>Indicates that a Unicode string is normalized using full compatibility decomposition, followed by the replacement of sequences with their primary composites, if possible.</summary>
126 <member name="F:System.Text.NormalizationForm.FormKD">
127 <summary>Indicates that a Unicode string is normalized using full compatibility decomposition.</summary>