// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.AspNetCore.StaticFiles.Infrastructure;
namespace Microsoft.AspNetCore.Builder
{
///
/// Directory browsing options
///
public class DirectoryBrowserOptions : SharedOptionsBase
{
///
/// Enabled directory browsing for all request paths
///
public DirectoryBrowserOptions()
: this(new SharedOptions())
{
}
///
/// Enabled directory browsing all request paths
///
///
public DirectoryBrowserOptions(SharedOptions sharedOptions)
: base(sharedOptions)
{
}
///
/// The component that generates the view.
///
public IDirectoryFormatter Formatter { get; set; }
}
}