Class AbpEmbeddedFileProvider
Implements
Microsoft.Extensions.FileProviders.IFileProvider
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.VirtualFileSystem.Embedded
Assembly: Volo.Abp.VirtualFileSystem.dll
Syntax
public class AbpEmbeddedFileProvider : DictionaryBasedFileProvider, IFileProvider
Constructors
AbpEmbeddedFileProvider(Assembly, string?)
Declaration
public AbpEmbeddedFileProvider(Assembly assembly, string? baseNamespace = null)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.Assembly | assembly | |
string | baseNamespace |
Properties
Assembly
Declaration
public Assembly Assembly { get; }
Property Value
Type | Description |
---|---|
System.Reflection.Assembly |
BaseNamespace
Declaration
public string? BaseNamespace { get; }
Property Value
Type | Description |
---|---|
string |
Files
Declaration
protected override IDictionary<string, IFileInfo> Files { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<TKey, TValue><string, Microsoft.Extensions.FileProviders.IFileInfo> |
Overrides
Methods
AddFiles(Dictionary<string, IFileInfo>)
Declaration
public void AddFiles(Dictionary<string, IFileInfo> files)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<TKey, TValue><string, Microsoft.Extensions.FileProviders.IFileInfo> | files |
NormalizePath(string)
Declaration
protected override string NormalizePath(string subpath)
Parameters
Type | Name | Description |
---|---|---|
string | subpath |
Returns
Type | Description |
---|---|
string |
Overrides
Implements
Microsoft.Extensions.FileProviders.IFileProvider