4 instantiations of FileExtensionsAttribute
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (4)
FileExtensionsAttributeAdapterTest.cs (4)
25var attribute = new FileExtensionsAttribute() { Extensions = extensions }; 76var attribute = new FileExtensionsAttribute() { Extensions = extensions }; 106var attribute = new FileExtensionsAttribute() { Extensions = extensions }; 140var attribute = new FileExtensionsAttribute() { Extensions = "jpg" };
9 references to FileExtensionsAttribute
Microsoft.AspNetCore.Mvc.DataAnnotations (4)
FileExtensionsAttributeAdapter.cs (2)
11internal sealed class FileExtensionsAttributeAdapter : AttributeAdapterBase<FileExtensionsAttribute> 16public FileExtensionsAttributeAdapter(FileExtensionsAttribute attribute, IStringLocalizer? stringLocalizer)
ValidationAttributeAdapterProvider.cs (2)
70else if (typeof(FileExtensionsAttribute).IsAssignableFrom(type)) 72return new FileExtensionsAttributeAdapter((FileExtensionsAttribute)attribute, stringLocalizer);
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (4)
FileExtensionsAttributeAdapterTest.cs (4)
25var attribute = new FileExtensionsAttribute() { Extensions = extensions }; 76var attribute = new FileExtensionsAttribute() { Extensions = extensions }; 106var attribute = new FileExtensionsAttribute() { Extensions = extensions }; 140var attribute = new FileExtensionsAttribute() { Extensions = "jpg" };
System.ComponentModel.DataAnnotations (1)
System.ComponentModel.DataAnnotations.cs (1)
18[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.DataAnnotations.FileExtensionsAttribute))]