4 instantiations of UrlAttribute
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (2)
DataAnnotationsModelValidatorTest.cs (1)
500new UrlAttribute() { ErrorMessage = LocalizationKey },
ValidationAttributeAdapterProviderTest.cs (1)
69{ new UrlAttribute(), "data-val-url" },
Microsoft.AspNetCore.OpenApi.Tests (2)
Services\OpenApiSchemaService\OpenApiSchemaService.ParameterSchemas.cs (2)
346[([Url] string url) => {}, (OpenApiSchema schema) => { Assert.Equal("string", schema.Type); Assert.Equal("uri", schema.Format); }], 348[([Url][StringLength(10)] string url) => {}, (OpenApiSchema schema) => { Assert.Equal("string", schema.Type); Assert.Equal("uri", schema.Format); Assert.Equal(10, schema.MaxLength); }],
3 references to UrlAttribute
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
ValidationAttributeAdapterProvider.cs (1)
66else if (typeof(UrlAttribute).IsAssignableFrom(type))
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
132else if (attribute is UrlAttribute)
System.ComponentModel.DataAnnotations (1)
System.ComponentModel.DataAnnotations.cs (1)
41[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.DataAnnotations.UrlAttribute))]