// 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 System.Collections.Generic; using Microsoft.AspNet.Http; namespace Microsoft.AspNet.Routing { public class VirtualPathContext { public VirtualPathContext(HttpContext httpContext, IDictionary ambientValues, IDictionary values) : this(httpContext, ambientValues, values, null) { } public VirtualPathContext(HttpContext context, IDictionary ambientValues, IDictionary values, string routeName) { Context = context; AmbientValues = ambientValues; Values = values; RouteName = routeName; } public string RouteName { get; private set; } public IDictionary ProvidedValues { get; set; } public IDictionary AmbientValues { get; private set; } public HttpContext Context { get; private set; } public bool IsBound { get; set; } public IDictionary Values { get; private set; } } }