4 writes to Extensions
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (4)
FileExtensionsAttributeAdapterTest.cs (4)
25
var attribute = new FileExtensionsAttribute() {
Extensions
= extensions };
76
var attribute = new FileExtensionsAttribute() {
Extensions
= extensions };
106
var attribute = new FileExtensionsAttribute() {
Extensions
= extensions };
140
var attribute = new FileExtensionsAttribute() {
Extensions
= "jpg" };
2 references to Extensions
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
FileExtensionsAttributeAdapter.cs (1)
23
var normalizedExtensions = Attribute.
Extensions
.Replace(" ", string.Empty).Replace(".", string.Empty).ToLowerInvariant();
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\FileExtensionsAttribute.cs (1)
35
Extensions
.Replace(" ", string.Empty).Replace(".", string.Empty).ToLowerInvariant();