47 references to CreateProvider
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (47)
DataAnnotationsMetadataProviderTest.cs (47)
91var provider = CreateProvider();
108var provider = CreateProvider();
128var provider = CreateProvider();
151var provider = CreateProvider();
170var provider = CreateProvider();
189var provider = CreateProvider();
212var provider = CreateProvider();
235var provider = CreateProvider();
274var provider = CreateProvider(options: null, localizationOptions, stringLocalizerFactoryMock.Object);
312var provider = CreateProvider(options: null, localizationOptions, stringLocalizerFactoryMock.Object);
346var provider = CreateProvider(options: null, localizationOptions, stringLocalizerFactoryMock.Object);
370var provider = CreateProvider();
405var provider = CreateProvider(stringLocalizerFactory: stringLocalizerFactory.Object);
440var provider = CreateProvider(stringLocalizerFactory: stringLocalizerFactory.Object);
469var provider = CreateProvider();
504var provider = CreateProvider(stringLocalizerFactory: stringLocalizerFactory.Object);
533var provider = CreateProvider();
582var provider = CreateProvider(options: null, localizationOptions, stringLocalizerFactoryMock.Object);
634var provider = CreateProvider();
668var provider = CreateProvider();
800var provider = CreateProvider();
846var provider = CreateProvider(options: null, localizationOptions, stringLocalizerFactoryMock.Object);
978var provider = CreateProvider();
1006var provider = CreateProvider();
1106var provider = CreateProvider();
1129var provider = CreateProvider();
1148var provider = CreateProvider();
1172var provider = CreateProvider();
1198var provider = CreateProvider(options: new MvcOptions()
1228var provider = CreateProvider();
1247var provider = CreateProvider();
1266var provider = CreateProvider();
1287var provider = CreateProvider();
1307var provider = CreateProvider();
1326var provider = CreateProvider();
1345var provider = CreateProvider();
1364var provider = CreateProvider();
1383var provider = CreateProvider();
1404var provider = CreateProvider();
1425var provider = CreateProvider();
1446var provider = CreateProvider();
1480var provider = CreateProvider();
1502var provider = CreateProvider();
1521var provider = CreateProvider();
1541var provider = CreateProvider();
1562var provider = CreateProvider();
1724return CreateProvider(options: null, localizationOptions, useStringLocalizer ? stringLocalizerFactory.Object : null);