Browse Source
Update framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFileSetListExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/25284/head
Engincan VESKE
3 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
8 additions and
1 deletions
-
framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFileSetListExtensions.cs
|
|
|
@ -62,10 +62,17 @@ public static class VirtualFileSetListExtensions |
|
|
|
return new ManifestEmbeddedFileProvider(assembly, baseFolder); |
|
|
|
} |
|
|
|
|
|
|
|
public static void ReplaceEmbeddedByPhysical<T>( |
|
|
|
[NotNull] this VirtualFileSetList fileSets, |
|
|
|
[NotNull] string physicalPath) |
|
|
|
{ |
|
|
|
ReplaceEmbeddedByPhysical<T>(fileSets, physicalPath, ExclusionFilters.Sensitive); |
|
|
|
} |
|
|
|
|
|
|
|
public static void ReplaceEmbeddedByPhysical<T>( |
|
|
|
[NotNull] this VirtualFileSetList fileSets, |
|
|
|
[NotNull] string physicalPath, |
|
|
|
ExclusionFilters exclusionFilters = ExclusionFilters.Sensitive) |
|
|
|
ExclusionFilters exclusionFilters) |
|
|
|
{ |
|
|
|
Check.NotNull(fileSets, nameof(fileSets)); |
|
|
|
Check.NotNullOrWhiteSpace(physicalPath, nameof(physicalPath)); |
|
|
|
|