bump
This commit is contained in:
parent
2e1950ffe9
commit
1933d170df
3 changed files with 2 additions and 15 deletions
|
|
@ -21,14 +21,6 @@ namespace Yavsc
|
|||
{
|
||||
public static IApplicationBuilder UseYaFileServer(this IApplicationBuilder builder, FileServerOptions options)
|
||||
{
|
||||
if (builder == null)
|
||||
{
|
||||
throw new ArgumentNullException("builder");
|
||||
}
|
||||
if (options == null)
|
||||
{
|
||||
throw new ArgumentNullException("options");
|
||||
}
|
||||
if (options == null)
|
||||
{
|
||||
throw new ArgumentNullException("options");
|
||||
|
|
@ -46,10 +38,6 @@ namespace Yavsc
|
|||
|
||||
public static IApplicationBuilder UseYaSendFileFallback(this IApplicationBuilder builder)
|
||||
{
|
||||
if (builder == null)
|
||||
{
|
||||
throw new ArgumentNullException("builder");
|
||||
}
|
||||
return builder.UseMiddleware<YaSendFileMiddleware>(new object[0]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue