// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Framework.Internal; using Microsoft.AspNet.StaticFiles; namespace Microsoft.Framework.DependencyInjection { /// /// Extension methods for adding directory browser services. /// public static class DirectoryBrowserServiceExtensions { /// /// Adds directory browser middleware services. /// /// /// public static IServiceCollection AddDirectoryBrowser([NotNull] this IServiceCollection services) { return services.AddWebEncoders(); } } }