nug Createrun NuGet

Microsoft.Extensions.FileProviders.Abstractions

10.0.7 121 download(s)
public

Abstractions of files and directories. Commonly Used Types: Microsoft.Extensions.FileProviders.IDirectoryContents Microsoft.Extensions.FileProviders.IFileInfo Microsoft.Extensions.FileProviders.IFileProvider

PackageReference
<PackageReference Include="Microsoft.Extensions.FileProviders.Abstractions" Version="10.0.7" />
.NET CLI
dotnet add package Microsoft.Extensions.FileProviders.Abstractions --version 10.0.7

Dependencies

net10.0
Package Version range
Microsoft.Extensions.Primitives [10.0.7, )
net462
Package Version range
Microsoft.Extensions.Primitives [10.0.7, )
net8.0
Package Version range
Microsoft.Extensions.Primitives [10.0.7, )
net9.0
Package Version range
Microsoft.Extensions.Primitives [10.0.7, )
netstandard2.0
Package Version range
Microsoft.Extensions.Primitives [10.0.7, )

Readme

## About

<!-- A description of the package and where one can find more documentation -->

Serves as the foundation for creating file providers in .NET, offering core abstractions to develop custom file providers capable of fetching files from various sources.

## Key Features

<!-- The key features of this package -->

* Core abstractions for creating and managing file providers.
* Flexibility to develop custom file providers for fetching files from distinct sources.

## How to Use

<!-- A compelling example on how to use this package with code, as well as any specific guidelines for when to use the package -->

This package is typically used with an implementation of the file provider abstractions, such as `Microsoft.Extensions.FileProviders.Composite` or `Microsoft.Extensions.FileProviders.Physical`.

## Main Types

<!-- The main types provided in this library -->

The main types provided by this library are:

* `Microsoft.Extensions.FileProviders.IFileProvider`
* `Microsoft.Extensions.FileProviders.IDirectoryContents`
* `Microsoft.Extensions.FileProviders.IFileInfo`
* `Microsoft.Extensions.FileProviders.NullFileProvider`

## Additional Documentation

<!-- Links to further documentation. Remove conceptual documentation if not available for the library. -->

* [Conceptual documentation](https://learn.microsoft.com/aspnet/core/fundamentals/file-providers)
* [Detect changes with change tokens](https://learn.microsoft.com/aspnet/core/fundamentals/change-tokens)
* [API documentation](https://learn.microsoft.com/dotnet/api/microsoft.extensions.fileproviders)

## Related Packages

<!-- The related packages associated with this package -->

* File provider for physical files: [Microsoft.Extensions.FileProviders.Physical](https://www.nuget.org/packages/Microsoft.Extensions.FileProviders.Physical/)
* File provider for files in embedded resources: [Microsoft.Extensions.FileProviders.Embedded](https://www.nuget.org/packages/Microsoft.Extensions.FileProviders.Embedded/)
* Composite file and directory providers: [Microsoft.Extensions.FileProviders.Composite](https://www.nuget.org/packages/Microsoft.Extensions.FileProviders.Composite/)

## Feedback & Contributing

<!-- How to provide feedback on this package and contribute to it -->

Microsoft.Extensions.FileProviders.Abstractions is released as open source under the [MIT license](https://licenses.nuget.org/MIT). Bug reports and contributions are welcome at [the GitHub repository](https://github.com/dotnet/runtime).

Versions

Target frameworks

net10.0 net462 net8.0 net9.0 netstandard2.0

Metadata

Published
Size
125.42 KB
Authors
Microsoft
License
MIT
Repository
https://github.com/dotnet/dotnet commit b16286c2284fecf303dbc12a0bb152476d662e44
Flags
SemVer 1
SHA512
UcU81bPNi1hZFl7olH/V8J4K5PKz8uTUCAz76uoygLzMpBZ7M5+VDiSl+rywZRjD7oJSKmmGDIDLZpBSXRnreQ==

Release notes

https://go.microsoft.com/fwlink/?LinkID=799421