Show / Hide Table of Contents

Class StaticFileOptionsExtensions

Extension methods for creating CompositeFileProvider for Microsoft.AspNetCore.Builder.StaticFileOptions.

Inheritance
Object
StaticFileOptionsExtensions
Inherited Members
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 resourceAssembly.

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 resourceAssembly.

Back to top Generated by DocFX