Rename AspNet 5 file contents.

See https://github.com/aspnet/Announcements/issues/144 for more information.
This commit is contained in:
N. Taylor Mullen 2016-01-22 12:24:38 -08:00
parent ace4553d77
commit 70d674410e
151 changed files with 346 additions and 346 deletions

View File

@ -9,15 +9,15 @@
"StrictSemanticVersionValidationRule" "StrictSemanticVersionValidationRule"
], ],
"packages": { "packages": {
"Microsoft.AspNet.Routing.Abstractions": { }, "Microsoft.AspNetCore.Routing.Abstractions": { },
"Microsoft.AspNet.Routing.Extensions": { }, "Microsoft.AspNetCore.Routing.Extensions": { },
"Microsoft.AspNet.Routing": { } "Microsoft.AspNetCore.Routing": { }
} }
}, },
"adx-nonshipping": { "adx-nonshipping": {
"rules": [], "rules": [],
"packages": { "packages": {
"Microsoft.AspNet.Routing.DecisionTree.Sources": { } "Microsoft.AspNetCore.Routing.DecisionTree.Sources": { }
} }
}, },
"Default": { // Rules to run for packages not listed in any other set. "Default": { // Rules to run for packages not listed in any other set.

View File

@ -1,4 +1,4 @@

Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14 # Visual Studio 14
VisualStudioVersion = 14.0.24711.0 VisualStudioVersion = 14.0.24711.0
@ -9,9 +9,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{C3AD
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{95359B4B-4C85-4B44-A75B-0621905C4CF6}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{95359B4B-4C85-4B44-A75B-0621905C4CF6}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Routing", "src\Microsoft.AspNet.Routing\Microsoft.AspNet.Routing.xproj", "{1EE54D32-6CED-4206-ACF5-3DC1DD39D228}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Routing", "src\Microsoft.AspNetCore.Routing\Microsoft.AspNetCore.Routing.xproj", "{1EE54D32-6CED-4206-ACF5-3DC1DD39D228}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Routing.Tests", "test\Microsoft.AspNet.Routing.Tests\Microsoft.AspNet.Routing.Tests.xproj", "{636D79ED-7B32-487C-BDA5-D2A1AAA97371}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Routing.Tests", "test\Microsoft.AspNetCore.Routing.Tests\Microsoft.AspNetCore.Routing.Tests.xproj", "{636D79ED-7B32-487C-BDA5-D2A1AAA97371}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "RoutingSample.Web", "samples\RoutingSample.Web\RoutingSample.Web.xproj", "{DB94E647-C73A-4F52-A126-AA7544CCF33B}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "RoutingSample.Web", "samples\RoutingSample.Web\RoutingSample.Web.xproj", "{DB94E647-C73A-4F52-A126-AA7544CCF33B}"
EndProject EndProject
@ -20,17 +20,17 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
global.json = global.json global.json = global.json
EndProjectSection EndProjectSection
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Routing.DecisionTree.Sources", "src\Microsoft.AspNet.Routing.DecisionTree.Sources\Microsoft.AspNet.Routing.DecisionTree.Sources.xproj", "{ABD5AA59-6000-4A3D-A54F-4B636F725AE8}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Routing.DecisionTree.Sources", "src\Microsoft.AspNetCore.Routing.DecisionTree.Sources\Microsoft.AspNetCore.Routing.DecisionTree.Sources.xproj", "{ABD5AA59-6000-4A3D-A54F-4B636F725AE8}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Routing.DecisionTree.Sources.Tests", "test\Microsoft.AspNet.Routing.DecisionTree.Sources.Tests\Microsoft.AspNet.Routing.DecisionTree.Sources.Tests.xproj", "{09C2933C-23AC-41B7-994D-E8A5184A629C}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Routing.DecisionTree.Sources.Tests", "test\Microsoft.AspNetCore.Routing.DecisionTree.Sources.Tests\Microsoft.AspNetCore.Routing.DecisionTree.Sources.Tests.xproj", "{09C2933C-23AC-41B7-994D-E8A5184A629C}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Routing.Abstractions", "src\Microsoft.AspNet.Routing.Abstractions\Microsoft.AspNet.Routing.Abstractions.xproj", "{ED253B01-24F1-43D1-AA0B-079391E105A9}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Routing.Abstractions", "src\Microsoft.AspNetCore.Routing.Abstractions\Microsoft.AspNetCore.Routing.Abstractions.xproj", "{ED253B01-24F1-43D1-AA0B-079391E105A9}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Mvc.Routing.Abstractions.Tests", "test\Microsoft.AspNet.Mvc.Routing.Abstractions.Tests\Microsoft.AspNet.Mvc.Routing.Abstractions.Tests.xproj", "{741B0B05-CE96-473B-B962-6B0A347DF79A}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests", "test\Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests\Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests.xproj", "{741B0B05-CE96-473B-B962-6B0A347DF79A}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Routing.Extensions", "src\Microsoft.AspNet.Routing.Extensions\Microsoft.AspNet.Routing.Extensions.xproj", "{579C3FD2-DFFA-4B64-BFC3-130C11F3568F}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Routing.Extensions", "src\Microsoft.AspNetCore.Routing.Extensions\Microsoft.AspNetCore.Routing.Extensions.xproj", "{579C3FD2-DFFA-4B64-BFC3-130C11F3568F}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Routing.Extensions.Tests", "test\Microsoft.AspNet.Routing.Extensions.Tests\Microsoft.AspNet.Routing.Extensions.Tests.xproj", "{FD0151B4-7153-49A8-9D90-62A252420230}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Routing.Extensions.Tests", "test\Microsoft.AspNetCore.Routing.Extensions.Tests\Microsoft.AspNetCore.Routing.Extensions.Tests.xproj", "{FD0151B4-7153-49A8-9D90-62A252420230}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -3,7 +3,7 @@
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Routing; using Microsoft.AspNetCore.Routing;
namespace RoutingSample.Web namespace RoutingSample.Web
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Routing; using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
namespace RoutingSample.Web namespace RoutingSample.Web

View File

@ -3,10 +3,10 @@
using System.Globalization; using System.Globalization;
using System.Threading; using System.Threading;
using Microsoft.AspNet.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNet.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNet.Routing; using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
namespace RoutingSample.Web namespace RoutingSample.Web

View File

@ -1,3 +1,3 @@
{ {
"server": "Microsoft.AspNet.Server.Kestrel" "server": "Microsoft.AspNetCore.Server.Kestrel"
} }

View File

@ -1,8 +1,8 @@
{ {
"dependencies": { "dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNet.Routing.Extensions": "1.0.0-*" "Microsoft.AspNetCore.Routing.Extensions": "1.0.0-*"
}, },
"compilationOptions": { "compilationOptions": {
"emitEntryPoint": true "emitEntryPoint": true

View File

@ -1,9 +1,9 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// Defines the contract that a class must implement in order to check whether a URL parameter /// Defines the contract that a class must implement in order to check whether a URL parameter

View File

@ -1,9 +1,9 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// Defines a contract for a handler of a route. /// Defines a contract for a handler of a route.

View File

@ -3,7 +3,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
public interface IRouter public interface IRouter
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// A feature interface for routing functionality. /// A feature interface for routing functionality.

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
@ -8,7 +8,7 @@
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>ed253b01-24f1-43d1-aa0b-079391e105a9</ProjectGuid> <ProjectGuid>ed253b01-24f1-43d1-aa0b-079391e105a9</ProjectGuid>
<RootNamespace>Microsoft.AspNet.Routing.Abstractions</RootNamespace> <RootNamespace>Microsoft.AspNetCore.Routing.Abstractions</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath> <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath> <OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup> </PropertyGroup>

View File

@ -2,9 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// A context object for <see cref="IRouter.RouteAsync(RouteContext)"/>. /// A context object for <see cref="IRouter.RouteAsync(RouteContext)"/>.

View File

@ -4,7 +4,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// Information about the current routing path. /// Information about the current routing path.

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// Indicates whether ASP.NET routing is processing a URL from an HTTP request or generating a URL. /// Indicates whether ASP.NET routing is processing a URL from an HTTP request or generating a URL.

View File

@ -6,7 +6,7 @@ using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.Extensions.Internal; using Microsoft.Extensions.Internal;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// An <see cref="IDictionary{string, object}"/> type for route values. /// An <see cref="IDictionary{string, object}"/> type for route values.

View File

@ -1,10 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// Extension methods for <see cref="HttpContext"/> related to routing. /// Extension methods for <see cref="HttpContext"/> related to routing.

View File

@ -1,9 +1,9 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// A context for virtual path generation operations. /// A context for virtual path generation operations.

View File

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// Represents information about the route and virtual path that are the result of /// Represents information about the route and virtual path that are the result of

View File

@ -1,4 +1,4 @@
{ {
"description": "ASP.NET 5 abstractions for routing requests to application logic and for generating links.", "description": "ASP.NET 5 abstractions for routing requests to application logic and for generating links.",
"version": "1.0.0-*", "version": "1.0.0-*",
"repository": { "repository": {
@ -10,7 +10,7 @@
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"dependencies": { "dependencies": {
"Microsoft.AspNet.Http.Abstractions": "1.0.0-*", "Microsoft.AspNetCore.Http.Abstractions": "1.0.0-*",
"Microsoft.Extensions.PropertyHelper.Sources": { "Microsoft.Extensions.PropertyHelper.Sources": {
"type": "build", "type": "build",
"version": "1.0.0-*" "version": "1.0.0-*"

View File

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Routing.DecisionTree namespace Microsoft.AspNetCore.Routing.DecisionTree
{ {
internal class DecisionCriterion<TItem> internal class DecisionCriterion<TItem>
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Routing.DecisionTree namespace Microsoft.AspNetCore.Routing.DecisionTree
{ {
internal struct DecisionCriterionValue internal struct DecisionCriterionValue
{ {

View File

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Routing.DecisionTree namespace Microsoft.AspNetCore.Routing.DecisionTree
{ {
internal class DecisionCriterionValueEqualityComparer : IEqualityComparer<DecisionCriterionValue> internal class DecisionCriterionValueEqualityComparer : IEqualityComparer<DecisionCriterionValue>
{ {

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace Microsoft.AspNet.Routing.DecisionTree namespace Microsoft.AspNetCore.Routing.DecisionTree
{ {
// This code generates a minimal tree of decision criteria that map known categorical data // This code generates a minimal tree of decision criteria that map known categorical data
// (key-value-pairs) to a set of inputs. Action Selection is the best example of how this // (key-value-pairs) to a set of inputs. Action Selection is the best example of how this

View File

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Routing.DecisionTree namespace Microsoft.AspNetCore.Routing.DecisionTree
{ {
// Data structure representing a node in a decision tree. These are created in DecisionTreeBuilder // Data structure representing a node in a decision tree. These are created in DecisionTreeBuilder
// and walked to find a set of items matching some input criteria. // and walked to find a set of items matching some input criteria.

View File

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Routing.DecisionTree namespace Microsoft.AspNetCore.Routing.DecisionTree
{ {
internal interface IClassifier<TItem> internal interface IClassifier<TItem>
{ {

View File

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Routing.DecisionTree namespace Microsoft.AspNetCore.Routing.DecisionTree
{ {
internal class ItemDescriptor<TItem> internal class ItemDescriptor<TItem>
{ {

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
@ -8,7 +8,7 @@
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>abd5aa59-6000-4a3d-a54f-4b636f725ae8</ProjectGuid> <ProjectGuid>abd5aa59-6000-4a3d-a54f-4b636f725ae8</ProjectGuid>
<RootNamespace>Microsoft.AspNet.Routing.DecisionTree</RootNamespace> <RootNamespace>Microsoft.AspNetCore.Routing.DecisionTree</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath> <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath> <OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup> </PropertyGroup>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
@ -8,7 +8,7 @@
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>579c3fd2-dffa-4b64-bfc3-130c11f3568f</ProjectGuid> <ProjectGuid>579c3fd2-dffa-4b64-bfc3-130c11f3568f</ProjectGuid>
<RootNamespace>Microsoft.AspNet.Routing.Extensions</RootNamespace> <RootNamespace>Microsoft.AspNetCore.Routing.Extensions</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath> <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath> <OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup> </PropertyGroup>

View File

@ -1,13 +1,13 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNet.Routing; using Microsoft.AspNetCore.Routing;
using Microsoft.AspNet.Routing.Constraints; using Microsoft.AspNetCore.Routing.Constraints;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNet.Builder namespace Microsoft.AspNetCore.Builder
{ {
public static class RequestDelegateRouteBuilderExtensions public static class RequestDelegateRouteBuilderExtensions
{ {

View File

@ -1,4 +1,4 @@
{ {
"description": "ASP.NET 5 extension methods for routing requests to application logic and for generating links.", "description": "ASP.NET 5 extension methods for routing requests to application logic and for generating links.",
"version": "1.0.0-*", "version": "1.0.0-*",
"repository": { "repository": {
@ -10,7 +10,7 @@
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"dependencies": { "dependencies": {
"Microsoft.AspNet.Routing": "1.0.0-*" "Microsoft.AspNetCore.Routing": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"net451": { }, "net451": { },

View File

@ -2,11 +2,11 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Routing; using Microsoft.AspNetCore.Routing;
using Microsoft.AspNet.Routing.Internal; using Microsoft.AspNetCore.Routing.Internal;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNet.Builder namespace Microsoft.AspNetCore.Builder
{ {
/// <summary> /// <summary>
/// Extension methods for adding the <see cref="RouterMiddleware"/> middleware to an <see cref="IApplicationBuilder"/>. /// Extension methods for adding the <see cref="RouterMiddleware"/> middleware to an <see cref="IApplicationBuilder"/>.

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to contain only lowercase or uppercase letters A through Z in the English alphabet. /// Constrains a route parameter to contain only lowercase or uppercase letters A through Z in the English alphabet.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to represent only Boolean values. /// Constrains a route parameter to represent only Boolean values.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route by several child constraints. /// Constrains a route by several child constraints.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to represent only <see cref="DateTime"/> values. /// Constrains a route parameter to represent only <see cref="DateTime"/> values.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to represent only decimal values. /// Constrains a route parameter to represent only decimal values.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to represent only 64-bit floating-point values. /// Constrains a route parameter to represent only 64-bit floating-point values.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to represent only 32-bit floating-point values. /// Constrains a route parameter to represent only 32-bit floating-point values.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to represent only <see cref="Guid"/> values. /// Constrains a route parameter to represent only <see cref="Guid"/> values.

View File

@ -1,12 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains the HTTP method of request or a route. /// Constrains the HTTP method of request or a route.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to represent only 32-bit integer values. /// Constrains a route parameter to represent only 32-bit integer values.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to be a string of a given length or within a given range of lengths. /// Constrains a route parameter to be a string of a given length or within a given range of lengths.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to represent only 64-bit integer values. /// Constrains a route parameter to represent only 64-bit integer values.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to be a string with a maximum length. /// Constrains a route parameter to be a string with a maximum length.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to be an integer with a maximum value. /// Constrains a route parameter to be an integer with a maximum value.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to be a string with a minimum length. /// Constrains a route parameter to be a string with a minimum length.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constrains a route parameter to be a long with a minimum value. /// Constrains a route parameter to be a long with a minimum value.

View File

@ -2,9 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Defines a constraint on an optional parameter. If the parameter is present, then it is constrained by InnerConstraint. /// Defines a constraint on an optional parameter. If the parameter is present, then it is constrained by InnerConstraint.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constraints a route parameter to be an integer within a given range of values. /// Constraints a route parameter to be an integer within a given range of values.

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Represents a regex constraint which can be used as an inlineConstraint. /// Represents a regex constraint which can be used as an inlineConstraint.

View File

@ -4,9 +4,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
public class RegexRouteConstraint : IRouteConstraint public class RegexRouteConstraint : IRouteConstraint
{ {

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Routing.Constraints namespace Microsoft.AspNetCore.Routing.Constraints
{ {
/// <summary> /// <summary>
/// Constraints a route parameter that must have a value. /// Constraints a route parameter that must have a value.

View File

@ -8,7 +8,7 @@ using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.Extensions.Options; using Microsoft.Extensions.Options;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// The default implementation of <see cref="IInlineConstraintResolver"/>. Resolves constraints by parsing /// The default implementation of <see cref="IInlineConstraintResolver"/>. Resolves constraints by parsing

View File

@ -3,8 +3,8 @@
using System; using System;
using System.Text.Encodings.Web; using System.Text.Encodings.Web;
using Microsoft.AspNet.Routing; using Microsoft.AspNetCore.Routing;
using Microsoft.AspNet.Routing.Internal; using Microsoft.AspNetCore.Routing.Internal;
using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.ObjectPool; using Microsoft.Extensions.ObjectPool;

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// Defines an abstraction for resolving inline constraints as instances of <see cref="IRouteConstraint"/>. /// Defines an abstraction for resolving inline constraints as instances of <see cref="IRouteConstraint"/>.

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
public interface INamedRouter : IRouter public interface INamedRouter : IRouter
{ {

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Builder; using Microsoft.AspNetCore.Builder;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// Defines a contract for a route builder in an application. A route builder specifies the routes for /// Defines a contract for a route builder in an application. A route builder specifies the routes for

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
public interface IRouteCollection : IRouter public interface IRouteCollection : IRouter
{ {

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Routing.Template; using Microsoft.AspNetCore.Routing.Template;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
public static class InlineRouteParameterParser public static class InlineRouteParameterParser
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Routing.Internal namespace Microsoft.AspNetCore.Routing.Internal
{ {
public struct BufferValue public struct BufferValue
{ {

View File

@ -3,10 +3,10 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Routing.DecisionTree; using Microsoft.AspNetCore.Routing.DecisionTree;
using Microsoft.AspNet.Routing.Tree; using Microsoft.AspNetCore.Routing.Tree;
namespace Microsoft.AspNet.Routing.Internal namespace Microsoft.AspNetCore.Routing.Internal
{ {
// A decision tree that matches link generation entries based on route data. // A decision tree that matches link generation entries based on route data.
public class LinkGenerationDecisionTree public class LinkGenerationDecisionTree

View File

@ -1,9 +1,9 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Routing.Tree; using Microsoft.AspNetCore.Routing.Tree;
namespace Microsoft.AspNet.Routing.Internal namespace Microsoft.AspNetCore.Routing.Internal
{ {
public struct LinkGenerationMatch public struct LinkGenerationMatch
{ {

View File

@ -1,14 +1,14 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives; using Microsoft.Extensions.Primitives;
namespace Microsoft.AspNet.Routing.Internal namespace Microsoft.AspNetCore.Routing.Internal
{ {
public struct PathTokenizer : IReadOnlyList<StringSegment> public struct PathTokenizer : IReadOnlyList<StringSegment>
{ {

View File

@ -1,9 +1,9 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNet.Routing.Internal namespace Microsoft.AspNetCore.Routing.Internal
{ {
/// <summary> /// <summary>
/// A marker class used to determine if all the routing services were added /// A marker class used to determine if all the routing services were added

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Routing.Internal namespace Microsoft.AspNetCore.Routing.Internal
{ {
// Segments are treated as all-or-none. We should never output a partial segment. // Segments are treated as all-or-none. We should never output a partial segment.
// If we add any subsegment of this segment to the generated URI, we have to add // If we add any subsegment of this segment to the generated URI, we have to add

View File

@ -1,9 +1,9 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Microsoft.AspNet.Routing.Internal namespace Microsoft.AspNetCore.Routing.Internal
{ {
public static class TaskCache public static class TaskCache
{ {

View File

@ -1,11 +1,11 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using System.Text.Encodings.Web; using System.Text.Encodings.Web;
using Microsoft.Extensions.ObjectPool; using Microsoft.Extensions.ObjectPool;
namespace Microsoft.AspNet.Routing.Internal namespace Microsoft.AspNetCore.Routing.Internal
{ {
public class UriBuilderContextPooledObjectPolicy : IPooledObjectPolicy<UriBuildingContext> public class UriBuilderContextPooledObjectPolicy : IPooledObjectPolicy<UriBuildingContext>
{ {

View File

@ -1,4 +1,4 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
@ -7,7 +7,7 @@ using System.IO;
using System.Text; using System.Text;
using System.Text.Encodings.Web; using System.Text.Encodings.Web;
namespace Microsoft.AspNet.Routing.Internal namespace Microsoft.AspNetCore.Routing.Internal
{ {
[DebuggerDisplay("{DebuggerToString(),nq}")] [DebuggerDisplay("{DebuggerToString(),nq}")]
public class UriBuildingContext public class UriBuildingContext

View File

@ -1,10 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
namespace Microsoft.AspNet.Routing.Logging namespace Microsoft.AspNetCore.Routing.Logging
{ {
internal static class RouteConstraintMatcherExtensions internal static class RouteConstraintMatcherExtensions
{ {

View File

@ -1,10 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
namespace Microsoft.AspNet.Routing.Logging namespace Microsoft.AspNetCore.Routing.Logging
{ {
internal static class RouterMiddlewareLoggerExtensions internal static class RouterMiddlewareLoggerExtensions
{ {

View File

@ -1,10 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
namespace Microsoft.AspNet.Routing.Logging namespace Microsoft.AspNetCore.Routing.Logging
{ {
internal static class TreeRouterLoggerExtensions internal static class TreeRouterLoggerExtensions
{ {

View File

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Routing; using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNet.Builder namespace Microsoft.AspNetCore.Builder
{ {
/// <summary> /// <summary>
/// Provides extension methods for <see cref="IRouteBuilder"/> to add routes. /// Provides extension methods for <see cref="IRouteBuilder"/> to add routes.

View File

@ -1,5 +1,5 @@
// <auto-generated /> // <auto-generated />
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
using System.Globalization; using System.Globalization;
using System.Reflection; using System.Reflection;
@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Routing
internal static class Resources internal static class Resources
{ {
private static readonly ResourceManager _resourceManager private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNet.Routing.Resources", typeof(Resources).GetTypeInfo().Assembly); = new ResourceManager("Microsoft.AspNetCore.Routing.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary> /// <summary>
/// Value must be greater than or equal to {0}. /// Value must be greater than or equal to {0}.

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
public class Route : RouteBase public class Route : RouteBase
{ {

View File

@ -1,19 +1,19 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text.Encodings.Web; using System.Text.Encodings.Web;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNet.Routing.Internal; using Microsoft.AspNetCore.Routing.Internal;
using Microsoft.AspNet.Routing.Logging; using Microsoft.AspNetCore.Routing.Logging;
using Microsoft.AspNet.Routing.Template; using Microsoft.AspNetCore.Routing.Template;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using Microsoft.Extensions.ObjectPool; using Microsoft.Extensions.ObjectPool;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
public abstract class RouteBase : IRouter, INamedRouter public abstract class RouteBase : IRouter, INamedRouter
{ {

View File

@ -3,11 +3,11 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNet.Routing.Internal; using Microsoft.AspNetCore.Routing.Internal;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
public class RouteBuilder : IRouteBuilder public class RouteBuilder : IRouteBuilder
{ {

View File

@ -4,11 +4,11 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options; using Microsoft.Extensions.Options;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
public class RouteCollection : IRouteCollection public class RouteCollection : IRouteCollection
{ {

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Routing.Constraints; using Microsoft.AspNetCore.Routing.Constraints;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// A builder for produding a mapping of keys to see <see cref="IRouteConstraint"/>. /// A builder for produding a mapping of keys to see <see cref="IRouteConstraint"/>.

View File

@ -3,11 +3,11 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNet.Routing.Logging; using Microsoft.AspNetCore.Routing.Logging;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
public static class RouteConstraintMatcher public static class RouteConstraintMatcher
{ {

View File

@ -1,11 +1,11 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNet.Routing.Internal; using Microsoft.AspNetCore.Routing.Internal;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
public class RouteHandler : IRouteHandler, IRouter public class RouteHandler : IRouteHandler, IRouter
{ {

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Routing.Constraints; using Microsoft.AspNetCore.Routing.Constraints;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
public class RouteOptions public class RouteOptions
{ {

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNetCore.Routing
{ {
/// <summary> /// <summary>
/// An <see cref="IEqualityComparer{object}"/> implementation that compares objects as-if /// An <see cref="IEqualityComparer{object}"/> implementation that compares objects as-if

View File

@ -2,12 +2,12 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNet.Routing; using Microsoft.AspNetCore.Routing;
using Microsoft.AspNet.Routing.Logging; using Microsoft.AspNetCore.Routing.Logging;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
namespace Microsoft.AspNet.Builder namespace Microsoft.AspNetCore.Builder
{ {
public class RouterMiddleware public class RouterMiddleware
{ {

View File

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.AspNet.Routing.Template namespace Microsoft.AspNetCore.Routing.Template
{ {
/// <summary> /// <summary>
/// The parsed representation of an inline constraint in a route parameter. /// The parsed representation of an inline constraint in a route parameter.

View File

@ -5,7 +5,7 @@ using System;
using System.Diagnostics; using System.Diagnostics;
using System.Linq; using System.Linq;
namespace Microsoft.AspNet.Routing.Template namespace Microsoft.AspNetCore.Routing.Template
{ {
/// <summary> /// <summary>
/// Computes precedence for an attribute route template. /// Computes precedence for an attribute route template.

View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Linq; using System.Linq;
namespace Microsoft.AspNet.Routing.Template namespace Microsoft.AspNetCore.Routing.Template
{ {
[DebuggerDisplay("{DebuggerToString()}")] [DebuggerDisplay("{DebuggerToString()}")]
public class RouteTemplate public class RouteTemplate

View File

@ -6,10 +6,10 @@ using System.Collections;
using System.Diagnostics; using System.Diagnostics;
using System.Globalization; using System.Globalization;
using System.Text.Encodings.Web; using System.Text.Encodings.Web;
using Microsoft.AspNet.Routing.Internal; using Microsoft.AspNetCore.Routing.Internal;
using Microsoft.Extensions.ObjectPool; using Microsoft.Extensions.ObjectPool;
namespace Microsoft.AspNet.Routing.Template namespace Microsoft.AspNetCore.Routing.Template
{ {
public class TemplateBinder public class TemplateBinder
{ {

View File

@ -4,10 +4,10 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNet.Routing.Internal; using Microsoft.AspNetCore.Routing.Internal;
namespace Microsoft.AspNet.Routing.Template namespace Microsoft.AspNetCore.Routing.Template
{ {
public class TemplateMatcher public class TemplateMatcher
{ {

View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Globalization; using System.Globalization;
namespace Microsoft.AspNet.Routing.Template namespace Microsoft.AspNetCore.Routing.Template
{ {
public static class TemplateParser public static class TemplateParser
{ {

View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Linq; using System.Linq;
namespace Microsoft.AspNet.Routing.Template namespace Microsoft.AspNetCore.Routing.Template
{ {
[DebuggerDisplay("{DebuggerToString()}")] [DebuggerDisplay("{DebuggerToString()}")]
public class TemplatePart public class TemplatePart

View File

@ -5,7 +5,7 @@ using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Linq; using System.Linq;
namespace Microsoft.AspNet.Routing.Template namespace Microsoft.AspNetCore.Routing.Template
{ {
[DebuggerDisplay("{DebuggerToString()}")] [DebuggerDisplay("{DebuggerToString()}")]
public class TemplateSegment public class TemplateSegment

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Routing.Template namespace Microsoft.AspNetCore.Routing.Template
{ {
/// <summary> /// <summary>
/// The values used as inputs for constraints and link generation. /// The values used as inputs for constraints and link generation.

View File

@ -1,4 +1,4 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
@ -6,7 +6,7 @@ using System.Diagnostics;
using System.Linq; using System.Linq;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
namespace Microsoft.AspNet.Routing.Tree namespace Microsoft.AspNetCore.Routing.Tree
{ {
public class TreeRouteBuilder public class TreeRouteBuilder
{ {

View File

@ -2,9 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Routing.Template; using Microsoft.AspNetCore.Routing.Template;
namespace Microsoft.AspNet.Routing.Tree namespace Microsoft.AspNetCore.Routing.Tree
{ {
/// <summary> /// <summary>
/// Used to build a <see cref="TreeRouter"/>. Represents an individual URL-generating route that will be /// Used to build a <see cref="TreeRouter"/>. Represents an individual URL-generating route that will be

View File

@ -2,9 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Routing.Template; using Microsoft.AspNetCore.Routing.Template;
namespace Microsoft.AspNet.Routing.Tree namespace Microsoft.AspNetCore.Routing.Tree
{ {
/// <summary> /// <summary>
/// Used to build an <see cref="TreeRouter"/>. Represents an individual URL-matching route that will be /// Used to build an <see cref="TreeRouter"/>. Represents an individual URL-matching route that will be

View File

@ -1,4 +1,4 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
@ -6,12 +6,12 @@ using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Routing.Internal; using Microsoft.AspNetCore.Routing.Internal;
using Microsoft.AspNet.Routing.Logging; using Microsoft.AspNetCore.Routing.Logging;
using Microsoft.Extensions.Internal; using Microsoft.Extensions.Internal;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
namespace Microsoft.AspNet.Routing.Tree namespace Microsoft.AspNetCore.Routing.Tree
{ {
/// <summary> /// <summary>
/// An <see cref="IRouter"/> implementation for attribute routing. /// An <see cref="IRouter"/> implementation for attribute routing.

View File

@ -1,10 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Routing.Tree namespace Microsoft.AspNetCore.Routing.Tree
{ {
public class UrlMatchingNode public class UrlMatchingNode
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Routing.Tree namespace Microsoft.AspNetCore.Routing.Tree
{ {
public class UrlMatchingTree public class UrlMatchingTree
{ {

View File

@ -10,9 +10,9 @@
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"dependencies": { "dependencies": {
"Microsoft.AspNet.Http.Extensions": "1.0.0-*", "Microsoft.AspNetCore.Http.Extensions": "1.0.0-*",
"Microsoft.AspNet.Routing.Abstractions": "1.0.0-*", "Microsoft.AspNetCore.Routing.Abstractions": "1.0.0-*",
"Microsoft.AspNet.Routing.DecisionTree.Sources": { "Microsoft.AspNetCore.Routing.DecisionTree.Sources": {
"type": "build", "type": "build",
"version": "1.0.0-*" "version": "1.0.0-*"
}, },

Some files were not shown because too many files have changed in this diff Show More