Microsoft.Extensions.FileProviders.Abstractions
Represents a directory's content in the file provider.
True if a directory was located at the given path.
Represents a file in the given file provider.
True if resource exists in the underlying storage system.
The length of the file in bytes, or -1 for a directory or non-existing files.
The path to the file, including the file name. Return null if the file is not directly accessible.
The name of the file or directory, not including any path.
When the file was last modified
True for the case TryGetDirectoryContents has enumerated a sub-directory
Return file contents as readonly stream. Caller should dispose stream when complete.
The file stream
A read-only file provider abstraction.
Locate a file at the given path.
Relative path that identifies the file.
The file information. Caller must check Exists property.
Enumerate a directory at the given path, if any.
Relative path that identifies the directory.
Returns the contents of the directory.
Creates a for the specified .
Filter string used to determine what files or folders to monitor. Example: **/*.cs, *.*, subFolder/**/*.cshtml.
An that is notified when a file matching is added, modified or deleted.
Represents a non-existing directory
A shared instance of
Always false.
Returns an enumerator that iterates through the collection.
An enumerator to an empty collection.
Represents a non-existing file.
Initializes an instance of .
The name of the file that could not be found
Always false.
Always false.
Returns .
Always equals -1.
Always null.
Always throws. A stream cannot be created for non-existing file.
Always thrown.
Does not return
An empty change token that doesn't raise any change callbacks.
A singleton instance of
Always false.
Always false.
Always returns an empty disposable object. Callbacks will never be called.
This parameter is ignored
This parameter is ignored
A disposable object that noops on dispose.
An empty file provider with no contents.
Enumerate a non-existent directory.
A path under the root directory. This parameter is ignored.
A that does not exist and does not contain any contents.
Locate a non-existent file.
A path under the root directory.
A representing a non-existent file at the given path.
Returns a that monitors nothing.
Filter string used to determine what files or folders to monitor. This parameter is ignored.
A that does not register callbacks.
The file {0} does not exist.
Attribute used to indicate a source generator should create a function for marshalling
arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
This attribute is meaningless if the source generator associated with it is not enabled.
The current built-in source generator only supports C# and only supplies an implementation when
applied to static, partial, non-generic methods.
Initializes a new instance of the .
Name of the library containing the import.
Gets the name of the library containing the import.
Gets or sets the name of the entry point to be called.
Gets or sets how to marshal string arguments to the method.
If this field is set to a value other than ,
must not be specified.
Gets or sets the used to control how string arguments to the method are marshalled.
If this field is specified, must not be specified
or must be set to .
Gets or sets whether the callee sets an error (SetLastError on Windows or errno
on other platforms) before returning from the attributed method.
Specifies how strings should be marshalled for generated p/invokes
Indicates the user is suppling a specific marshaller in .
Use the platform-provided UTF-8 marshaller.
Use the platform-provided UTF-16 marshaller.
Specifies that null is allowed as an input even if the corresponding type disallows it.
Specifies that null is disallowed as an input even if the corresponding type allows it.
Specifies that an output may be null even if the corresponding type disallows it.
Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.
Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it.
Initializes the attribute with the specified return value condition.
The return value condition. If the method returns this value, the associated parameter may be null.
Gets the return value condition.
Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it.
Initializes the attribute with the specified return value condition.
The return value condition. If the method returns this value, the associated parameter will not be null.
Gets the return value condition.
Specifies that the output will be non-null if the named parameter is non-null.
Initializes the attribute with the associated parameter name.
The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
Gets the associated parameter name.
Applied to a method that will never return under any circumstance.
Specifies that the method will not return if the associated Boolean parameter is passed the specified value.
Initializes the attribute with the specified parameter value.
The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
the associated parameter matches this value.
Gets the condition parameter value.
Specifies that the method or property will ensure that the listed field and property members have not-null values.
Initializes the attribute with a field or property member.
The field or property member that is promised to be not-null.
Initializes the attribute with the list of field and property members.
The list of field and property members that are promised to be not-null.
Gets field or property member names.
Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.
Initializes the attribute with the specified return value condition and a field or property member.
The return value condition. If the method returns this value, the associated parameter will not be null.
The field or property member that is promised to be not-null.
Initializes the attribute with the specified return value condition and list of field and property members.
The return value condition. If the method returns this value, the associated parameter will not be null.
The list of field and property members that are promised to be not-null.
Gets the return value condition.
Gets field or property member names.