Microsoft.Extensions.FileProviders
11 wrapped types. Load them with using { "Microsoft.Extensions.FileProviders" }. Click a class to open it.
CompositeFileProvider class
Microsoft.Extensions.FileProviders.CompositeFileProvider · assembly Microsoft.Extensions.FileProviders.Composite
Constructors
new CompositeFileProvider(IFileProvider[] fileProviders) |
new CompositeFileProvider(IEnumerable<IFileProvider> fileProviders) |
Ring: new CompositeFileProvider(args) uses one constructor; the others are chosen by the parameter names: new CompositeFileProvider().@New([ :param = value ]) or dnNew("CompositeFileProvider",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
FileProviders | IEnumerable<IFileProvider> | read | o.FileProviders |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetDirectoryContents | callMethod("GetDirectoryContents",[p1]) | IDirectoryContents GetDirectoryContents(string subpath) |
GetFileInfo | callMethod("GetFileInfo",[p1]) | IFileInfo GetFileInfo(string subpath) |
Watch | callMethod("Watch",[p1]) | IChangeToken Watch(string pattern) |
EmbeddedFileProvider class
Microsoft.Extensions.FileProviders.EmbeddedFileProvider · assembly Microsoft.Extensions.FileProviders.Embedded
Constructors
new EmbeddedFileProvider(Assembly assembly) |
new EmbeddedFileProvider(Assembly assembly, string baseNamespace) |
Ring: new EmbeddedFileProvider(args) uses one constructor; the others are chosen by the parameter names: new EmbeddedFileProvider().@New([ :param = value ]) or dnNew("EmbeddedFileProvider",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetDirectoryContents | callMethod("GetDirectoryContents",[p1]) | IDirectoryContents GetDirectoryContents(string subpath) |
GetFileInfo | callMethod("GetFileInfo",[p1]) | IFileInfo GetFileInfo(string subpath) |
Watch | callMethod("Watch",[p1]) | IChangeToken Watch(string pattern) |
IDirectoryContents interface
Microsoft.Extensions.FileProviders.IDirectoryContents · assembly Microsoft.Extensions.FileProviders.Abstractions
Implements: IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Exists | bool | read | o.Exists |
IFileInfo interface
Microsoft.Extensions.FileProviders.IFileInfo · assembly Microsoft.Extensions.FileProviders.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Exists | bool | read | o.Exists |
Length | long | read | o.Length |
PhysicalPath | string | read | o.PhysicalPath |
Name | string | read | o.Name |
LastModified | DateTimeOffset | read | o.LastModified |
IsDirectory | bool | read | o.IsDirectory |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateReadStream | callMethod("CreateReadStream",[]) | Stream CreateReadStream() |
IFileProvider interface
Microsoft.Extensions.FileProviders.IFileProvider · assembly Microsoft.Extensions.FileProviders.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetDirectoryContents | callMethod("GetDirectoryContents",[p1]) | IDirectoryContents GetDirectoryContents(string subpath) |
GetFileInfo | callMethod("GetFileInfo",[p1]) | IFileInfo GetFileInfo(string subpath) |
Watch | callMethod("Watch",[p1]) | IChangeToken Watch(string filter) |
ManifestEmbeddedFileProvider class
Microsoft.Extensions.FileProviders.ManifestEmbeddedFileProvider · assembly Microsoft.Extensions.FileProviders.Embedded
Constructors
new ManifestEmbeddedFileProvider(Assembly assembly) |
new ManifestEmbeddedFileProvider(Assembly assembly, string root) |
new ManifestEmbeddedFileProvider(Assembly assembly, string root, DateTimeOffset lastModified) |
new ManifestEmbeddedFileProvider(Assembly assembly, string root, string manifestName, DateTimeOffset lastModified) |
Ring: new ManifestEmbeddedFileProvider(args) uses one constructor; the others are chosen by the parameter names: new ManifestEmbeddedFileProvider().@New([ :param = value ]) or dnNew("ManifestEmbeddedFileProvider",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Assembly | Assembly | read | o.Assembly |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetDirectoryContents | callMethod("GetDirectoryContents",[p1]) | IDirectoryContents GetDirectoryContents(string subpath) |
GetFileInfo | callMethod("GetFileInfo",[p1]) | IFileInfo GetFileInfo(string subpath) |
Watch | callMethod("Watch",[p1]) | IChangeToken Watch(string filter) |
NotFoundDirectoryContents class
Microsoft.Extensions.FileProviders.NotFoundDirectoryContents · assembly Microsoft.Extensions.FileProviders.Abstractions
Implements: IEnumerable
Constructors
new NotFoundDirectoryContents() |
Ring: new NotFoundDirectoryContents(args) uses one constructor; the others are chosen by the parameter names: new NotFoundDirectoryContents().@New([ :param = value ]) or dnNew("NotFoundDirectoryContents",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Exists | bool | read | o.Exists |
Singleton | NotFoundDirectoryContents | read · static | o.Singleton |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator<IFileInfo> GetEnumerator() |
NotFoundFileInfo class
Microsoft.Extensions.FileProviders.NotFoundFileInfo · assembly Microsoft.Extensions.FileProviders.Abstractions
Constructors
new NotFoundFileInfo(string name) |
Ring: new NotFoundFileInfo(args) uses one constructor; the others are chosen by the parameter names: new NotFoundFileInfo().@New([ :param = value ]) or dnNew("NotFoundFileInfo",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Exists | bool | read | o.Exists |
IsDirectory | bool | read | o.IsDirectory |
LastModified | DateTimeOffset | read | o.LastModified |
Length | long | read | o.Length |
Name | string | read | o.Name |
PhysicalPath | string | read | o.PhysicalPath |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateReadStream | callMethod("CreateReadStream",[]) | Stream CreateReadStream() |
NullChangeToken class
Microsoft.Extensions.FileProviders.NullChangeToken · assembly Microsoft.Extensions.FileProviders.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HasChanged | bool | read | o.HasChanged |
ActiveChangeCallbacks | bool | read | o.ActiveChangeCallbacks |
Singleton | NullChangeToken | read · static | o.Singleton |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
RegisterChangeCallback | callMethod("RegisterChangeCallback",[p1,p2]) | IDisposable RegisterChangeCallback(Action<object> callback, object state) |
NullFileProvider class
Microsoft.Extensions.FileProviders.NullFileProvider · assembly Microsoft.Extensions.FileProviders.Abstractions
Constructors
new NullFileProvider() |
Ring: new NullFileProvider(args) uses one constructor; the others are chosen by the parameter names: new NullFileProvider().@New([ :param = value ]) or dnNew("NullFileProvider",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetDirectoryContents | callMethod("GetDirectoryContents",[p1]) | IDirectoryContents GetDirectoryContents(string subpath) |
GetFileInfo | callMethod("GetFileInfo",[p1]) | IFileInfo GetFileInfo(string subpath) |
Watch | callMethod("Watch",[p1]) | IChangeToken Watch(string filter) |
PhysicalFileProvider class
Microsoft.Extensions.FileProviders.PhysicalFileProvider · assembly Microsoft.Extensions.FileProviders.Physical
Implements: IDisposable
Constructors
new PhysicalFileProvider(string root) |
new PhysicalFileProvider(string root, ExclusionFilters filters) |
Ring: new PhysicalFileProvider(args) uses one constructor; the others are chosen by the parameter names: new PhysicalFileProvider().@New([ :param = value ]) or dnNew("PhysicalFileProvider",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
UsePollingFileWatcher | bool | read, write | o.UsePollingFileWatcher o.UsePollingFileWatcher = v |
UseActivePolling | bool | read, write | o.UseActivePolling o.UseActivePolling = v |
Root | string | read | o.Root |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
GetDirectoryContents | callMethod("GetDirectoryContents",[p1]) | IDirectoryContents GetDirectoryContents(string subpath) |
GetFileInfo | callMethod("GetFileInfo",[p1]) | IFileInfo GetFileInfo(string subpath) |
Watch | callMethod("Watch",[p1]) | IChangeToken Watch(string filter) |