9 references to TryConvertTo
Microsoft.AspNetCore.Components.Tests (5)
BindConverterTest.cs (5)
309
var successfullyConverted = BindConverter.
TryConvertTo
<Guid>(incomingValue, CultureInfo.CurrentCulture, out var actual);
323
var successfullyConverted = BindConverter.
TryConvertTo
<Guid>(incomingValue, CultureInfo.CurrentCulture, out var actual);
338
var successfullyConverted = BindConverter.
TryConvertTo
<Guid?>(incomingValue, CultureInfo.CurrentCulture, out var actual);
351
var successfullyConverted = BindConverter.
TryConvertTo
<Guid?>(incomingValue, CultureInfo.CurrentCulture, out var actual);
365
var successfullyConverted = BindConverter.
TryConvertTo
<Guid?>(value, CultureInfo.CurrentCulture, out var actual);
Microsoft.AspNetCore.Components.Web (4)
Forms\InputDate.cs (1)
112
if (BindConverter.
TryConvertTo
(value, CultureInfo.InvariantCulture, out result))
Forms\InputExtensions.cs (1)
35
else if (BindConverter.
TryConvertTo
<TValue>(value, CultureInfo.CurrentCulture, out var parsedValue))
Forms\InputNumber.cs (1)
70
if (BindConverter.
TryConvertTo
<TValue>(value, CultureInfo.InvariantCulture, out result))
Forms\InputSelect.cs (1)
87
CurrentValue = BindConverter.
TryConvertTo
<TValue>(value, CultureInfo.CurrentCulture, out var result)