This repository was archived by the owner on Nov 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
src/Microsoft.AspNet.StaticFiles Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
2
2
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3
3
4
- using Microsoft . Framework . ConfigurationModel ;
5
4
using Microsoft . Framework . Internal ;
5
+ using Microsoft . AspNet . StaticFiles ;
6
6
7
7
namespace Microsoft . Framework . DependencyInjection
8
8
{
@@ -17,17 +17,6 @@ public static class DirectoryBrowserServiceExtensions
17
17
/// <param name="services"></param>
18
18
/// <returns></returns>
19
19
public static IServiceCollection AddDirectoryBrowser ( [ NotNull ] this IServiceCollection services )
20
- {
21
- return services . AddDirectoryBrowser ( configuration : null ) ;
22
- }
23
-
24
- /// <summary>
25
- /// Adds directory browser middleware services.
26
- /// </summary>
27
- /// <param name="services"></param>
28
- /// <param name="configuration"></param>
29
- /// <returns></returns>
30
- public static IServiceCollection AddDirectoryBrowser ( [ NotNull ] this IServiceCollection services , IConfiguration configuration )
31
20
{
32
21
return services . AddWebEncoders ( ) ;
33
22
}
You can’t perform that action at this time.
0 commit comments