Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​Extensions.​FileProviders.​NotFoundFileInfo
Assembly: Microsoft.Extensions.FileProviders.Abstractions
Inheritance: object → NotFoundFileInfo
Implemented Interfaces
Represents a nonexistent file.
Properties
public
bool
Exists
Gets a value that's always <see langword="false" /> .
public
bool
IsDirectory
Gets a value that's always <see langword="false" /> .
LastModified
Gets <see cref="F:System.DateTimeOffset.MinValue" /> .
public
long
Length
Gets a value that's always -1.
public
string
Name
public
string
PhysicalPath
Gets a value that's always <see langword="null" /> .
Methods
CreateReadStream​()
Always throws. A stream cannot be created for a nonexistent file.
Returns Does not return.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object