4 writes to Extensions
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" };
2 references to Extensions
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
FileExtensionsAttributeAdapter.cs (1)
23var normalizedExtensions = Attribute.Extensions.Replace(" ", string.Empty).Replace(".", string.Empty).ToLowerInvariant();
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\FileExtensionsAttribute.cs (1)
35Extensions.Replace(" ", string.Empty).Replace(".", string.Empty).ToLowerInvariant();