Class StaticFileOptionsExtensions
Extension methods for creating CompositeFileProvider for Microsoft.AspNetCore.Builder.StaticFileOptions.
Inherited Members
Namespace: IRM.AspNetCore.Identity.UI
Assembly: IRM.AspNetCore.Identity.UI.dll
Syntax
public static class StaticFileOptionsExtensions
Methods
CreateCompositeForAssembly(StaticFileOptions, Assembly)
Creates a CompositeFileProvider where a Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider is included for the specified resourceAssembly
.
Declaration
public static CompositeFileProvider CreateCompositeForAssembly(this StaticFileOptions options, Assembly resourceAssembly)
Parameters
Microsoft.AspNetCore.Builder.StaticFileOptions
options
The Microsoft.AspNetCore.Builder.StaticFileOptions to create a CompositeFileProvider for. |
System.Reflection.Assembly
resourceAssembly
The assembly containing the embedded files. |
Returns
CompositeFileProvider
A CompositeFileProvider where a Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider is included for the specified |
CreateCompositeForAssembly(StaticFileOptions, Assembly, String)
Creates a CompositeFileProvider where a Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider is included for the specified resourceAssembly
.
Declaration
public static CompositeFileProvider CreateCompositeForAssembly(this StaticFileOptions options, Assembly resourceAssembly, string basePath = null)
Parameters
Microsoft.AspNetCore.Builder.StaticFileOptions
options
The Microsoft.AspNetCore.Builder.StaticFileOptions to create a CompositeFileProvider for. |
System.Reflection.Assembly
resourceAssembly
The assembly containing the embedded files. |
String
basePath
The relative path from the root of the manifest to use as root for the Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider, if any. |
Returns
CompositeFileProvider
A CompositeFileProvider where a Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider is included for the specified |