7 references to _serviceProvider
Microsoft.AspNetCore.Components.Forms.Tests (7)
EditContextDataAnnotationsExtensionsTest.cs (7)
17
var ex = Assert.Throws<ArgumentNullException>(() => editContext.EnableDataAnnotationsValidation(
_serviceProvider
));
37
editContext.EnableDataAnnotationsValidation(
_serviceProvider
);
67
editContext.EnableDataAnnotationsValidation(
_serviceProvider
);
84
editContext.EnableDataAnnotationsValidation(
_serviceProvider
);
112
editContext.EnableDataAnnotationsValidation(
_serviceProvider
);
152
editContext.EnableDataAnnotationsValidation(
_serviceProvider
);
171
var subscription = editContext.EnableDataAnnotationsValidation(
_serviceProvider
);