Implemented interface member:
method
ToString
System.IFormattable.ToString(System.String, System.IFormatProvider)
8 references to ToString
Microsoft.AspNetCore.Components (4)
BindConverter.cs (4)
505
/// <param name="format">The format to use. Provided to <see cref="DateOnly.
ToString
(string, IFormatProvider)"/>.</param>
544
/// <param name="format">The format to use. Provided to <see cref="DateOnly.
ToString
(string, IFormatProvider)"/>.</param>
593
/// <param name="format">The format to use. Provided to <see cref="DateOnly.
ToString
(string, IFormatProvider)"/>.</param>
632
/// <param name="format">The format to use. Provided to <see cref="DateOnly.
ToString
(string, IFormatProvider)"/>.</param>
Microsoft.AspNetCore.Components.Tests (1)
BindConverterTest.cs (1)
204
var expected = value.
ToString
("MM-yyyy", CultureInfo.InvariantCulture);
System.ComponentModel.TypeConverter (2)
System\ComponentModel\DateOnlyConverter.cs (2)
90
return dateOnly.
ToString
("yyyy-MM-dd", culture);
93
return dateOnly.
ToString
(culture.DateTimeFormat.ShortDatePattern, culture);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (1)
728
public string ToString([StringSyntax(StringSyntaxAttribute.DateOnlyFormat)] string? format) =>
ToString
(format, null);