2 instantiations of SampleModel
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
SimpleTypeModelBinderIntegrationTest.cs (2)
815
result = new
SampleModel
() { Value = s, Source = "TryParse" };
843
return new
SampleModel
() { Value = s, Source = "Converter" };
4 references to SampleModel
Microsoft.AspNetCore.Mvc.IntegrationTests (4)
SimpleTypeModelBinderIntegrationTest.cs (4)
714
ParameterType = typeof(
SampleModel
)
733
var
model = Assert.IsType<
SampleModel
>(modelBindingResult.Model);
813
public static bool TryParse([NotNullWhen(true)] string s, [MaybeNullWhen(false)] out
SampleModel
result)