// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Collections.Generic; namespace Microsoft.AspNet.Routing { /// /// The result of matching a route. Includes an to invoke and an optional collection of /// captured values. /// public class RouteMatch { public RouteMatch(IRouteEndpoint endpoint) : this(endpoint, null) { } public RouteMatch(IRouteEndpoint endpoint, IDictionary values) { Endpoint = endpoint; Values = values; } public IRouteEndpoint Endpoint { get; private set; } public IDictionary Values { get; private set; } } }