aspnetcore/src/Microsoft.AspNet.Diagnostics/DiagnosticsPageOptions.cs

22 lines
630 B
C#

// 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.
#if DIAGNOSTICS_PAGE_MIDDLEWARE
using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Diagnostics
{
/// <summary>
/// Options for the DiagnosticsPageMiddleware
/// </summary>
public class DiagnosticsPageOptions
{
/// <summary>
/// Specifies which requests paths will be responded to. Exact matches only. Leave null to handle all requests.
/// </summary>
public PathString Path { get; set; }
}
}
#endif