You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<summary>Represents a standard format string without using an actual string.</summary>
33
+
<remarks>
34
+
<formattype="text/markdown"><![CDATA[
35
+
36
+
A `StandardFormat` object consists of a single character standard format specifier (such as 'G', 'D', or 'X') and an optional precision specifier. The precision specifier can range from 0 to 9, or it can be the special <xref:System.Buffers.StandardFormat.NoPrecision?displayProperty=nameWithType> value.
37
+
38
+
]]></format>
39
+
</remarks>
34
40
</Docs>
35
41
<Members>
36
42
<MemberMemberName=".ctor">
@@ -55,12 +61,41 @@
55
61
<ParameterName="precision"Type="System.Byte" />
56
62
</Parameters>
57
63
<Docs>
58
-
<paramname="symbol">To be added.</param>
59
-
<paramname="precision">To be added.</param>
60
-
<summary>To be added.</summary>
64
+
<paramname="symbol">A type-specific format specifier, such as 'G', 'D', or 'X'.</param>
65
+
<paramname="precision">An optional precision ranging from 0 to 99, or the special value <seecref="F:System.Buffers.StandardFormat.NoPrecision" /> (the default).</param>
66
+
<summary>Initializes a new instance of the <seecref="T:System.Buffers.StandardFormat" /> structure.</summary>
61
67
<remarks>To be added.</remarks>
68
+
<exceptioncref="T:System.ArgumentOutOfRangeException"><paramrefname="symbol" /> is not <seecref="F:System.Buffers.StandardFormat.NoPrecision" />, and its value is greater than <seecref="F:System.Buffers.StandardFormat.MaxPrecision" />.
69
+
70
+
-or-
71
+
72
+
<paramrefname="symbol" /> cannot be converted to a <seecref="T:System.Byte" />.
73
+
74
+
</exception>
62
75
</Docs>
63
76
</Member>
77
+
<MemberGroupMemberName="Equals">
78
+
<AssemblyInfo>
79
+
<AssemblyName>System.Memory</AssemblyName>
80
+
<AssemblyVersion>4.0.1.0</AssemblyVersion>
81
+
<AssemblyVersion>4.1.0.0</AssemblyVersion>
82
+
<AssemblyVersion>4.2.0.0</AssemblyVersion>
83
+
</AssemblyInfo>
84
+
<AssemblyInfo>
85
+
<AssemblyName>netstandard</AssemblyName>
86
+
<AssemblyVersion>2.1.0.0</AssemblyVersion>
87
+
</AssemblyInfo>
88
+
<Docs>
89
+
<summary>Returns a value that indicates whether this instance is equal to a specified object or <seecref="T:System.Buffers.StandardFormat" />.</summary>
90
+
<remarks>
91
+
<formattype="text/markdown"><![CDATA[
92
+
93
+
Two <xref:System.Buffers.StandardFormat> instances are equal if their <xref:System.Buffers.StandardFormat.Symbol> and <xref:System.Buffers.StandardFormat.Precision> properties are equal.
<summary>Returns a value that indicates whether the specified <seecref="T:System.Buffers.StandardFormat" /> is equal to the current instance.</summary>
129
+
<returns><seelangword="true" /> if the two instances are equal; otherwise, <seelangword="false" />.</returns>
95
130
<remarks>To be added.</remarks>
96
131
</Docs>
97
132
</Member>
@@ -120,10 +155,10 @@
120
155
<ParameterName="obj"Type="System.Object" />
121
156
</Parameters>
122
157
<Docs>
123
-
<paramname="obj">To be added.</param>
124
-
<summary>To be added.</summary>
125
-
<returns>To be added.</returns>
126
-
<remarks>To be added.</remarks>
158
+
<paramname="obj">An object to compare to the current instance.</param>
159
+
<summary>Returns a value that indicates whether the specified object is a <seecref="T:System.Buffers.StandardFormat" /> object that is equal to the current instance.</summary>
160
+
<returns><seelangword="true" /> if the two instances are equal; otherwise, <seelangword="false" />.</returns>
161
+
<remarks>To be added.</remarks>
127
162
</Docs>
128
163
</Member>
129
164
<MemberMemberName="GetHashCode">
@@ -149,8 +184,8 @@
149
184
</ReturnValue>
150
185
<Parameters />
151
186
<Docs>
152
-
<summary>To be added.</summary>
153
-
<returns>To be added.</returns>
187
+
<summary>Returns the hash code for this instance.</summary>
188
+
<returns>The hash code for this instance.</returns>
154
189
<remarks>To be added.</remarks>
155
190
</Docs>
156
191
</Member>
@@ -176,8 +211,8 @@
176
211
<ReturnType>System.Boolean</ReturnType>
177
212
</ReturnValue>
178
213
<Docs>
179
-
<summary>To be added.</summary>
180
-
<value>To be added.</value>
214
+
<summary>Gets a value that indicates whether a format has a defined precision.</summary>
215
+
<value><seelangword="true" /> if the format has a precision other than <seecref="F:System.Buffers.StandardFormat.NoPrecision" />; otherwise, <seelangword="false" />.</value>
181
216
<remarks>To be added.</remarks>
182
217
</Docs>
183
218
</Member>
@@ -203,9 +238,15 @@
203
238
<ReturnType>System.Boolean</ReturnType>
204
239
</ReturnValue>
205
240
<Docs>
206
-
<summary>To be added.</summary>
207
-
<value>To be added.</value>
208
-
<remarks>To be added.</remarks>
241
+
<summary>Gets a value that indicates whether the current instance is a default format.</summary>
242
+
<value><seelangword="true" /> if the current instance is a default format; otherwise, <seelangword="false" />.</value>
243
+
<remarks>
244
+
<formattype="text/markdown"><![CDATA[
245
+
246
+
A default format has a format specifier whose <xref:System.Byte> value is 0 and whose precision is <xref:System.Buffers.StandardFormat.NoPrecision>.
247
+
248
+
]]></format>
249
+
</remarks>
209
250
</Docs>
210
251
</Member>
211
252
<MemberMemberName="MaxPrecision">
@@ -231,8 +272,8 @@
231
272
</ReturnValue>
232
273
<MemberValue>99</MemberValue>
233
274
<Docs>
234
-
<summary>To be added.</summary>
235
-
<remarks>To be added.</remarks>
275
+
<summary>Defines the maximum valid precision value.</summary>
276
+
<remarks>The maximum valid precision is 99.</remarks>
236
277
</Docs>
237
278
</Member>
238
279
<MemberMemberName="NoPrecision">
@@ -258,7 +299,7 @@
258
299
</ReturnValue>
259
300
<MemberValue>255</MemberValue>
260
301
<Docs>
261
-
<summary>To be added.</summary>
302
+
<summary>Indicates that a format doesn't use a precision or that the precision is unspecified.</summary>
<paramname="left">The first format to compare.</param>
333
+
<paramname="right">The second format to compare.</param>
334
+
<summary>Returns a value that indicates whether two <seecref="T:System.Buffers.StandardFormat" /> instances are equal.</summary>
335
+
<returns><seelangword="true" /> if the two instances are equal; otherwise, <seelangword="false" />.</returns>
336
+
<remarks>
337
+
<formattype="text/markdown"><![CDATA[
338
+
339
+
Two <xref:System.Buffers.StandardFormat> instances are equal if their <xref:System.Buffers.StandardFormat.Symbol> and <xref:System.Buffers.StandardFormat.Precision> properties are equal.
340
+
341
+
]]></format>
342
+
</remarks>
296
343
</Docs>
297
344
</Member>
298
345
<MemberMemberName="op_Implicit">
@@ -320,9 +367,9 @@
320
367
<ParameterName="symbol"Type="System.Char" />
321
368
</Parameters>
322
369
<Docs>
323
-
<paramname="symbol">To be added.</param>
324
-
<summary>To be added.</summary>
325
-
<returns>To be added.</returns>
370
+
<paramname="symbol">The character to convert to a <seecref="T:System.Buffers.StandardFormat" /> value.</param>
371
+
<summary>Converts a character to a <seecref="T:System.Buffers.StandardFormat" /> instance using <seecref="F:System.Buffers.StandardFormat.NoPrecision" /> precision.</summary>
372
+
<returns>A format with a <seecref="P:System.Buffers.StandardFormat.Symbol" /> property equal to <paramrefname="symbol" /> and a <seecref="P:System.Buffers.StandardFormat.Precision" /> property equal to <seecref="F:System.Buffers.StandardFormat.NoPrecision" />.</returns>
<paramname="left">The first format to compare.</param>
403
+
<paramname="right">The second format to compare.</param>
404
+
<summary>Determines whether two <seecref="T:System.Buffers.StandardFormat" /> instances are unequal.</summary>
405
+
<returns><seelangword="true" /> if the two formats are unequal; otherwise, <seelangword="false" />.</returns>
406
+
<remarks>
407
+
<formattype="text/markdown"><![CDATA[
408
+
409
+
Two <xref:System.Buffers.StandardFormat> instances are unequal if their <xref:System.Buffers.StandardFormat.Symbol> and <xref:System.Buffers.StandardFormat.Precision> properties are not identical.
<paramname="format">A read-only span that contains the character to parse.</param>
441
+
<summary>Converts a <seelangword="ReadOnlySpan<System.Char>" /> into a <seecref="T:System.Buffers.StandardFormat" /> instance using <seecref="F:System.Buffers.StandardFormat.NoPrecision" /> precision.</summary>
442
+
<returns>A value whose <seecref="P:System.Buffers.StandardFormat.Symbol" /> property value is the character in <paramrefname="format" /> and whose <seecref="P:System.Buffers.StandardFormat.Precision" /> property value is <seecref="F:System.Buffers.StandardFormat.NoPrecision" />.</returns>
390
443
<remarks>To be added.</remarks>
391
444
</Docs>
392
445
</Member>
@@ -415,10 +468,11 @@
415
468
<ParameterName="format"Type="System.String" />
416
469
</Parameters>
417
470
<Docs>
418
-
<paramname="format">To be added.</param>
419
-
<summary>To be added.</summary>
420
-
<returns>To be added.</returns>
471
+
<paramname="format">A classic .NET standard format string.</param>
472
+
<summary>Converts a classic .NET standard format string to a <seecref="T:System.Buffers.StandardFormat" /> instance.</summary>
473
+
<returns>A format.</returns>
421
474
<remarks>To be added.</remarks>
475
+
<exceptioncref="T:System.FormatException"><paramrefname="format" /> is not a valid standard format string.</exception>
422
476
</Docs>
423
477
</Member>
424
478
<MemberMemberName="Precision">
@@ -443,8 +497,8 @@
443
497
<ReturnType>System.Byte</ReturnType>
444
498
</ReturnValue>
445
499
<Docs>
446
-
<summary>To be added.</summary>
447
-
<value>To be added.</value>
500
+
<summary>Gets the precision component of the format.</summary>
501
+
<value>The precision component, which can be <seecref="F:System.Buffers.StandardFormat.NoPrecision" />, or can range from 0 to 9.</value>
448
502
<remarks>To be added.</remarks>
449
503
</Docs>
450
504
</Member>
@@ -470,8 +524,8 @@
470
524
<ReturnType>System.Char</ReturnType>
471
525
</ReturnValue>
472
526
<Docs>
473
-
<summary>To be added.</summary>
474
-
<value>To be added.</value>
527
+
<summary>Gets the character component of the format.</summary>
528
+
<value>The character component of the format.</value>
475
529
<remarks>To be added.</remarks>
476
530
</Docs>
477
531
</Member>
@@ -498,9 +552,15 @@
498
552
</ReturnValue>
499
553
<Parameters />
500
554
<Docs>
501
-
<summary>To be added.</summary>
502
-
<returns>To be added.</returns>
503
-
<remarks>To be added.</remarks>
555
+
<summary>Returns the string representation of this format.</summary>
556
+
<returns>The string representation of this format.</returns>
557
+
<remarks>
558
+
<formattype="text/markdown"><![CDATA[
559
+
560
+
The string representation of a <xref:System.Buffers.StandardFormat> instance is a standard .NET format string.
<paramname="format">A read-only span that contains the character to convert.</param>
590
+
<paramname="result">When the method returns, contains the parsed <seecref="T:System.Buffers.StandardFormat" /> instance if the operation was successful.</param>
591
+
<summary>Attempts to convert a <seelangword="ReadOnlySpan<Char>" /> to a <seecref="T:System.Buffers.StandardFormat" /> instance and returns a value that indicates whether the parsing operation succeeded.</summary>
592
+
<returns><seelangword="true" /> if the parsing operation was successful; otherwise, <seelangword="false" />.</returns>
0 commit comments