Implemented interface member:
property
Name
Microsoft.Extensions.FileProviders.IFileInfo.Name
16 writes to Name
Microsoft.AspNetCore.Hosting.Tests (16)
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (16)
96first.Setup(s => s.GetFileInfo("icon.png")).Returns(new TestFileInfo() { Name = "icon.png", Exists = true }); 98second.Setup(s => s.GetFileInfo("hero.gif")).Returns(new TestFileInfo() { Name = "hero.gif", Exists = true }); 173first.Setup(s => s.GetFileInfo("icon.png")).Returns(new TestFileInfo() { Name = "icon.png", Exists = true }); 175second.Setup(s => s.GetFileInfo("hero.gif")).Returns(new TestFileInfo() { Name = "hero.gif", Exists = true }); 249first.Setup(s => s.GetFileInfo("Subdir")).Returns(new TestFileInfo() { Name = "Subdir", Exists = true }); 251second.Setup(s => s.GetFileInfo("hero.gif")).Returns(new TestFileInfo() { Name = "hero.gif", Exists = true }); 661var styles = new TestFileInfo { Exists = true, IsDirectory = false, Name = "styles.css" }; 662var js = new TestFileInfo { Exists = true, IsDirectory = true, Name = "js" }; 663var file = new TestFileInfo { Exists = true, Name = "file.js", IsDirectory = false }; 664var transitiveDep = new TestFileInfo { Exists = true, IsDirectory = false, Name = "project-transitive-dep.js" }; 665var transitiveDepV4 = new TestFileInfo { Exists = true, IsDirectory = false, Name = "project-transitive-dep.v4.js" }; 684var css = new TestFileInfo { Exists = true, IsDirectory = true, Name = "css" }; 685var site = new TestFileInfo { Exists = true, IsDirectory = false, Name = "site.css" }; 686var js = new TestFileInfo { Exists = true, IsDirectory = true, Name = "js" }; 687var projectDirectDep = new TestFileInfo { Exists = true, IsDirectory = false, Name = "project-direct-dep.js" }; 737var otherHtml = new TestFileInfo { Exists = true, IsDirectory = false, Name = "other.html" };