aspnetcore/src/Microsoft.AspNet.Routing/BindPathContext.cs

28 lines
853 B
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.AspNet.Abstractions;
namespace Microsoft.AspNet.Routing
{
public class BindPathContext
{
public BindPathContext(HttpContext context, IDictionary<string, object> ambientValues, IDictionary<string, object> values)
{
Context = context;
AmbientValues = ambientValues;
Values = values;
}
public IDictionary<string, object> AmbientValues { get; private set; }
public HttpContext Context { get; private set; }
public bool IsBound { get; set; }
public string BoundPath { get; set; }
public IDictionary<string, object> Values { get; private set; }
}
}