5 references to FlagsEnum
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\Binders\SimpleTypeModelBinderTest.cs (5)
469
var bindingContext = GetBindingContext(typeof(
FlagsEnum
));
475
var binder = new SimpleTypeModelBinder(typeof(
FlagsEnum
), NullLoggerFactory.Instance);
482
var
boundModel = Assert.IsType<
FlagsEnum
>(bindingContext.Result.Model);
483
Assert.Equal((
FlagsEnum
)expected, boundModel);