Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Annotate ref
  • Loading branch information
maxkoshevoi committed Aug 14, 2021
commit 3cccc99fa99a644c49db0bd3c788e2f582bdef1e
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ public partial interface IFileInfo
System.DateTimeOffset LastModified { get; }
long Length { get; }
string Name { get; }
string PhysicalPath { get; }
string? PhysicalPath { get; }
System.IO.Stream CreateReadStream();
}
public partial interface IFileProvider
{
Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string subpath);
Microsoft.Extensions.FileProviders.IFileInfo GetFileInfo(string subpath);
Microsoft.Extensions.Primitives.IChangeToken Watch(string filter);
Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string? subpath);
Microsoft.Extensions.FileProviders.IFileInfo GetFileInfo(string? subpath);
Microsoft.Extensions.Primitives.IChangeToken Watch(string? filter);
}
public partial class NotFoundDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileInfo>, System.Collections.IEnumerable
{
Expand All @@ -42,7 +42,7 @@ public NotFoundFileInfo(string name) { }
public System.DateTimeOffset LastModified { get { throw null; } }
public long Length { get { throw null; } }
public string Name { get { throw null; } }
public string PhysicalPath { get { throw null; } }
public string? PhysicalPath { get { throw null; } }
public System.IO.Stream CreateReadStream() { throw null; }
}
public partial class NullChangeToken : Microsoft.Extensions.Primitives.IChangeToken
Expand All @@ -51,13 +51,13 @@ internal NullChangeToken() { }
public bool ActiveChangeCallbacks { get { throw null; } }
public bool HasChanged { get { throw null; } }
public static Microsoft.Extensions.FileProviders.NullChangeToken Singleton { get { throw null; } }
public System.IDisposable RegisterChangeCallback(System.Action<object> callback, object state) { throw null; }
public System.IDisposable RegisterChangeCallback(System.Action<object?> callback, object? state) { throw null; }
}
public partial class NullFileProvider : Microsoft.Extensions.FileProviders.IFileProvider
{
public NullFileProvider() { }
public Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string subpath) { throw null; }
public Microsoft.Extensions.FileProviders.IFileInfo GetFileInfo(string subpath) { throw null; }
public Microsoft.Extensions.Primitives.IChangeToken Watch(string filter) { throw null; }
public Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string? subpath) { throw null; }
public Microsoft.Extensions.FileProviders.IFileInfo GetFileInfo(string? subpath) { throw null; }
public Microsoft.Extensions.Primitives.IChangeToken Watch(string? filter) { throw null; }
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetCoreAppCurrent);netstandard2.0;net461</TargetFrameworks>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Compile Include="Microsoft.Extensions.FileProviders.Abstractions.cs" />
Expand Down