10 references to ToString
Microsoft.AspNetCore.Components (6)
BindConverter.cs (4)
521
return value.
ToString
(culture ?? CultureInfo.CurrentCulture);
526
return value.
ToString
(culture ?? CultureInfo.CurrentCulture);
565
return value.Value.
ToString
(culture ?? CultureInfo.CurrentCulture);
575
return value.Value.
ToString
(culture ?? CultureInfo.CurrentCulture);
NavigationManagerExtensions.cs (2)
57
=> value.
ToString
(CultureInfo.InvariantCulture);
60
=> value?.
ToString
(CultureInfo.InvariantCulture);
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
FormMapping\Converters\NullableConverterTests.cs (2)
36
var returnValue = nullableConverter.TryConvertValue(ref reader, date.
ToString
(culture), out var result);
111
{ new FormKey(prefixName.AsMemory()), (StringValues)date.
ToString
(culture) }
Microsoft.AspNetCore.Components.Tests (1)
BindConverterTest.cs (1)
190
var expected = value.
ToString
(CultureInfo.CurrentCulture);
Microsoft.Gen.Logging.Generated.Tests (1)
LogPropertiesTests.cs (1)
147
Assert.Equal(props.P20.
ToString
(CultureInfo.InvariantCulture), state!.GetValue("p.P20"));