// 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 ROUTING
namespace Microsoft.AspNetCore.Routing.Tree
#elif DISPATCHER
namespace Microsoft.AspNetCore.Dispatcher
#else
#error
#endif
{
#if ROUTING
public
#elif DISPATCHER
internal
#else
#error
#endif
class UrlMatchingTree
{
///
/// Initializes a new instance of .
///
/// The order associated with routes in this .
public UrlMatchingTree(int order)
{
Order = order;
}
///
/// Gets the order of the routes associated with this .
///
public int Order { get; }
///
/// Gets the root of the .
///
public UrlMatchingNode Root { get; } = new UrlMatchingNode(0);
}
}