15 implementations of Exists
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Builder\TestFileProvider\TestDirectoryContent.cs (1)
18public bool Exists => true;
Microsoft.AspNetCore.Components.WebView (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
246public bool Exists => true;
Microsoft.AspNetCore.Components.WebView.Maui (1)
iOS\iOSMauiAssetFileProvider.cs (1)
65 public bool Exists => false;
Microsoft.AspNetCore.Components.WebView.Test (1)
StaticContentProviderTests.cs (1)
84public bool Exists => true;
Microsoft.AspNetCore.Hosting (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
246public bool Exists => true;
Microsoft.AspNetCore.Hosting.Tests (1)
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (1)
801public bool Exists { get; set; }
Microsoft.AspNetCore.Mvc.Views.TestCommon (1)
TestDirectoryContent.cs (1)
18public bool Exists => true;
Microsoft.Extensions.Configuration.KeyPerFile.Tests (1)
KeyPerFileTests.cs (1)
495public bool Exists => _list.Any();
Microsoft.Extensions.FileProviders.Abstractions (1)
NotFoundDirectoryContents.cs (1)
23public bool Exists => false;
Microsoft.Extensions.FileProviders.Composite (1)
CompositeDirectoryContents.cs (1)
98public bool Exists
Microsoft.Extensions.FileProviders.Embedded (2)
EnumerableDirectoryContents.cs (1)
22public bool Exists
Manifest\ManifestDirectoryInfo.cs (1)
30public bool Exists => true;
Microsoft.Extensions.FileProviders.Physical (2)
Internal\PhysicalDirectoryContents.cs (1)
40public bool Exists => _info.Exists;
PhysicalDirectoryInfo.cs (1)
38public bool Exists => _info.Exists;
RazorBuildWebSite (1)
UpdateableFileProvider.cs (1)
108public bool Exists => true;
16 references to Exists
Microsoft.AspNetCore.Hosting.Tests (3)
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (3)
338Assert.True(contents.Exists); 454Assert.False(contents.Exists); 646Assert.Equal(expectedResult, directory.Exists);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
FileProviderRazorProjectFileSystem.cs (1)
48if (directory.Exists)
Microsoft.AspNetCore.StaticFiles (2)
DefaultFilesMiddleware.cs (1)
57if (dirContents.Exists)
DirectoryBrowserMiddleware.cs (1)
87return contents.Exists;
Microsoft.Extensions.Configuration.KeyPerFile (1)
KeyPerFileConfigurationProvider.cs (1)
75if (!directory.Exists)
Microsoft.Extensions.FileProviders.Composite (1)
CompositeDirectoryContents.cs (1)
46if (directoryContents != null && directoryContents.Exists)
Microsoft.Extensions.FileProviders.Embedded.Tests (6)
EmbeddedFileProviderTests.cs (6)
216Assert.False(provider.GetDirectoryContents("file").Exists); 217Assert.False(provider.GetDirectoryContents("file/").Exists); 218Assert.False(provider.GetDirectoryContents("file.txt").Exists); 219Assert.False(provider.GetDirectoryContents("file/txt").Exists); 233Assert.True(files.Exists); 250Assert.False(files.Exists);
Microsoft.Extensions.FileProviders.Physical (1)
PhysicalFileProvider.cs (1)
302/// <para>The caller must check the <see cref="IDirectoryContents.Exists"/> property.</para>
StaticFilesAuth (1)
Startup.cs (1)
152if (dir.Exists)