From fb08460770137cfb565b34e05febacfe98ecf21d Mon Sep 17 00:00:00 2001 From: Praburaj Date: Fri, 13 Mar 2015 17:54:16 -0700 Subject: [PATCH] Using [NotNull] from common repo package --- src/Microsoft.AspNet.Routing/BuilderExtensions.cs | 1 + .../Constraints/BoolRouteConstraint.cs | 1 + .../Constraints/CompositeRouteConstraint.cs | 1 + .../Constraints/DateTimeRouteConstraint.cs | 1 + .../Constraints/DecimalRouteConstraint.cs | 1 + .../Constraints/DoubleRouteConstraint.cs | 1 + .../Constraints/FloatRouteConstraint.cs | 1 + .../Constraints/GuidRouteConstraint.cs | 1 + .../Constraints/IntRouteConstraint.cs | 1 + .../Constraints/LengthRouteConstraint.cs | 1 + .../Constraints/LongRouteConstraint.cs | 1 + .../Constraints/MaxLengthRouteConstraint.cs | 1 + .../Constraints/MaxRouteConstraint.cs | 1 + .../Constraints/MinLengthRouteConstraint.cs | 1 + .../Constraints/MinRouteConstraint.cs | 1 + .../Constraints/OptionalRouteConstraint.cs | 1 + .../Constraints/RangeRouteConstraint.cs | 1 + .../Constraints/RegexInlineRouteConstraint.cs | 2 ++ .../Constraints/RegexRouteConstraint.cs | 1 + .../Constraints/RequiredRouteConstraint.cs | 1 + .../DefaultInlineConstraintResolver.cs | 1 + .../IInlineConstraintResolver.cs | 2 ++ src/Microsoft.AspNet.Routing/IRouteConstraint.cs | 1 + .../InlineRouteParameterParser.cs | 1 + .../Logging/LoggerExtensions.cs | 1 + src/Microsoft.AspNet.Routing/NotNullAttribute.cs | 12 ------------ src/Microsoft.AspNet.Routing/RouteCollection.cs | 1 + .../RouteConstraintBuilder.cs | 1 + .../RouteConstraintMatcher.cs | 1 + src/Microsoft.AspNet.Routing/RouteData.cs | 1 + src/Microsoft.AspNet.Routing/RouteValueDictionary.cs | 1 + .../ServiceCollectionExtensions.cs | 1 + .../Template/InlineConstraint.cs | 2 ++ .../Template/TemplateMatcher.cs | 1 + .../Template/TemplatePart.cs | 1 + .../Template/TemplateRoute.cs | 1 + src/Microsoft.AspNet.Routing/project.json | 3 ++- 37 files changed, 40 insertions(+), 13 deletions(-) delete mode 100644 src/Microsoft.AspNet.Routing/NotNullAttribute.cs diff --git a/src/Microsoft.AspNet.Routing/BuilderExtensions.cs b/src/Microsoft.AspNet.Routing/BuilderExtensions.cs index 53c3151979..551d5fb617 100644 --- a/src/Microsoft.AspNet.Routing/BuilderExtensions.cs +++ b/src/Microsoft.AspNet.Routing/BuilderExtensions.cs @@ -2,6 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNet.Routing; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Builder { diff --git a/src/Microsoft.AspNet.Routing/Constraints/BoolRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/BoolRouteConstraint.cs index d030f2ee76..2b295946b2 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/BoolRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/BoolRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/CompositeRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/CompositeRouteConstraint.cs index 38565ba769..0c4f8a01df 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/CompositeRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/CompositeRouteConstraint.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing { diff --git a/src/Microsoft.AspNet.Routing/Constraints/DateTimeRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/DateTimeRouteConstraint.cs index 5181e1980f..84800f515b 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/DateTimeRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/DateTimeRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/DecimalRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/DecimalRouteConstraint.cs index 3c44de4cdf..f1b0648c19 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/DecimalRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/DecimalRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/DoubleRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/DoubleRouteConstraint.cs index b2e3354423..79e219bdf5 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/DoubleRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/DoubleRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/FloatRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/FloatRouteConstraint.cs index b6067fb9e8..0474640028 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/FloatRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/FloatRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/GuidRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/GuidRouteConstraint.cs index 174a10e158..ec661c185b 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/GuidRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/GuidRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/IntRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/IntRouteConstraint.cs index c3e6fa4b86..4717671621 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/IntRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/IntRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/LengthRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/LengthRouteConstraint.cs index f3be0255a2..fa8ad95572 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/LengthRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/LengthRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/LongRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/LongRouteConstraint.cs index 5be25f56f4..96ef522d08 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/LongRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/LongRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/MaxLengthRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/MaxLengthRouteConstraint.cs index 1a55192091..6f069f68b1 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/MaxLengthRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/MaxLengthRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/MaxRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/MaxRouteConstraint.cs index cd98988f8f..519b39c88c 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/MaxRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/MaxRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/MinLengthRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/MinLengthRouteConstraint.cs index fd7c6504c3..ac8661bd9a 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/MinLengthRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/MinLengthRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/MinRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/MinRouteConstraint.cs index 7140a58a58..feccd48aff 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/MinRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/MinRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/OptionalRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/OptionalRouteConstraint.cs index 2890505e81..9e5bdbec7c 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/OptionalRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/OptionalRouteConstraint.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/RangeRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/RangeRouteConstraint.cs index 2b5681e071..72ef3c355e 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/RangeRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/RangeRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/RegexInlineRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/RegexInlineRouteConstraint.cs index be035af694..0caaff9fe8 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/RegexInlineRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/RegexInlineRouteConstraint.cs @@ -1,6 +1,8 @@ // 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 Microsoft.Framework.Internal; + namespace Microsoft.AspNet.Routing.Constraints { /// diff --git a/src/Microsoft.AspNet.Routing/Constraints/RegexRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/RegexRouteConstraint.cs index 49ec279dea..d4c9482cf4 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/RegexRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/RegexRouteConstraint.cs @@ -6,6 +6,7 @@ using System.Collections.Generic; using System.Globalization; using System.Text.RegularExpressions; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/Constraints/RequiredRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/RequiredRouteConstraint.cs index a4085fb638..3e3fb94afd 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/RequiredRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/RequiredRouteConstraint.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Constraints { diff --git a/src/Microsoft.AspNet.Routing/DefaultInlineConstraintResolver.cs b/src/Microsoft.AspNet.Routing/DefaultInlineConstraintResolver.cs index a3c54c050f..1efa1ec436 100644 --- a/src/Microsoft.AspNet.Routing/DefaultInlineConstraintResolver.cs +++ b/src/Microsoft.AspNet.Routing/DefaultInlineConstraintResolver.cs @@ -6,6 +6,7 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; +using Microsoft.Framework.Internal; using Microsoft.Framework.OptionsModel; namespace Microsoft.AspNet.Routing diff --git a/src/Microsoft.AspNet.Routing/IInlineConstraintResolver.cs b/src/Microsoft.AspNet.Routing/IInlineConstraintResolver.cs index f2011e1db3..3f862019de 100644 --- a/src/Microsoft.AspNet.Routing/IInlineConstraintResolver.cs +++ b/src/Microsoft.AspNet.Routing/IInlineConstraintResolver.cs @@ -1,6 +1,8 @@ // 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 Microsoft.Framework.Internal; + namespace Microsoft.AspNet.Routing { /// diff --git a/src/Microsoft.AspNet.Routing/IRouteConstraint.cs b/src/Microsoft.AspNet.Routing/IRouteConstraint.cs index 8229af6b02..14ee3043f5 100644 --- a/src/Microsoft.AspNet.Routing/IRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/IRouteConstraint.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using Microsoft.AspNet.Http; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing { diff --git a/src/Microsoft.AspNet.Routing/InlineRouteParameterParser.cs b/src/Microsoft.AspNet.Routing/InlineRouteParameterParser.cs index 2ba992e5b5..7ac335f15e 100644 --- a/src/Microsoft.AspNet.Routing/InlineRouteParameterParser.cs +++ b/src/Microsoft.AspNet.Routing/InlineRouteParameterParser.cs @@ -6,6 +6,7 @@ using System.Collections.Generic; using System.Diagnostics; using System.Text.RegularExpressions; using Microsoft.AspNet.Routing.Template; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing { diff --git a/src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs b/src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs index 6b9ccf2155..97f13c6544 100644 --- a/src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs +++ b/src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs @@ -1,6 +1,7 @@ // 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 Microsoft.Framework.Internal; using Microsoft.Framework.Logging; namespace Microsoft.AspNet.Routing.Logging.Internal diff --git a/src/Microsoft.AspNet.Routing/NotNullAttribute.cs b/src/Microsoft.AspNet.Routing/NotNullAttribute.cs deleted file mode 100644 index bab4e0c9a2..0000000000 --- a/src/Microsoft.AspNet.Routing/NotNullAttribute.cs +++ /dev/null @@ -1,12 +0,0 @@ -// 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; - -namespace Microsoft.AspNet.Routing -{ - [AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)] - internal sealed class NotNullAttribute : Attribute - { - } -} diff --git a/src/Microsoft.AspNet.Routing/RouteCollection.cs b/src/Microsoft.AspNet.Routing/RouteCollection.cs index 4afb95591c..53a464cbf8 100644 --- a/src/Microsoft.AspNet.Routing/RouteCollection.cs +++ b/src/Microsoft.AspNet.Routing/RouteCollection.cs @@ -9,6 +9,7 @@ using Microsoft.AspNet.Http; using Microsoft.AspNet.Routing.Logging; using Microsoft.AspNet.Routing.Logging.Internal; using Microsoft.Framework.DependencyInjection; +using Microsoft.Framework.Internal; using Microsoft.Framework.Logging; using Microsoft.Framework.OptionsModel; diff --git a/src/Microsoft.AspNet.Routing/RouteConstraintBuilder.cs b/src/Microsoft.AspNet.Routing/RouteConstraintBuilder.cs index bb03d0a62e..0d1707afed 100644 --- a/src/Microsoft.AspNet.Routing/RouteConstraintBuilder.cs +++ b/src/Microsoft.AspNet.Routing/RouteConstraintBuilder.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; using Microsoft.AspNet.Routing.Constraints; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing { diff --git a/src/Microsoft.AspNet.Routing/RouteConstraintMatcher.cs b/src/Microsoft.AspNet.Routing/RouteConstraintMatcher.cs index 1c04ba4432..6acc14a262 100644 --- a/src/Microsoft.AspNet.Routing/RouteConstraintMatcher.cs +++ b/src/Microsoft.AspNet.Routing/RouteConstraintMatcher.cs @@ -5,6 +5,7 @@ using System.Collections.Generic; using Microsoft.AspNet.Http; using Microsoft.AspNet.Routing.Logging; using Microsoft.AspNet.Routing.Logging.Internal; +using Microsoft.Framework.Internal; using Microsoft.Framework.Logging; namespace Microsoft.AspNet.Routing diff --git a/src/Microsoft.AspNet.Routing/RouteData.cs b/src/Microsoft.AspNet.Routing/RouteData.cs index 7a93688717..9ee84625d7 100644 --- a/src/Microsoft.AspNet.Routing/RouteData.cs +++ b/src/Microsoft.AspNet.Routing/RouteData.cs @@ -3,6 +3,7 @@ using System; using System.Collections.Generic; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing { diff --git a/src/Microsoft.AspNet.Routing/RouteValueDictionary.cs b/src/Microsoft.AspNet.Routing/RouteValueDictionary.cs index 1fab64e3a0..f924c3fa39 100644 --- a/src/Microsoft.AspNet.Routing/RouteValueDictionary.cs +++ b/src/Microsoft.AspNet.Routing/RouteValueDictionary.cs @@ -6,6 +6,7 @@ using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing { diff --git a/src/Microsoft.AspNet.Routing/ServiceCollectionExtensions.cs b/src/Microsoft.AspNet.Routing/ServiceCollectionExtensions.cs index 78cf76dff8..ceb6f59f3e 100644 --- a/src/Microsoft.AspNet.Routing/ServiceCollectionExtensions.cs +++ b/src/Microsoft.AspNet.Routing/ServiceCollectionExtensions.cs @@ -3,6 +3,7 @@ using System; using Microsoft.AspNet.Routing; +using Microsoft.Framework.Internal; namespace Microsoft.Framework.DependencyInjection { diff --git a/src/Microsoft.AspNet.Routing/Template/InlineConstraint.cs b/src/Microsoft.AspNet.Routing/Template/InlineConstraint.cs index f526e27408..cb7f175a5b 100644 --- a/src/Microsoft.AspNet.Routing/Template/InlineConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Template/InlineConstraint.cs @@ -1,6 +1,8 @@ // 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 Microsoft.Framework.Internal; + namespace Microsoft.AspNet.Routing.Template { /// diff --git a/src/Microsoft.AspNet.Routing/Template/TemplateMatcher.cs b/src/Microsoft.AspNet.Routing/Template/TemplateMatcher.cs index 36ee764815..7f31419cc4 100644 --- a/src/Microsoft.AspNet.Routing/Template/TemplateMatcher.cs +++ b/src/Microsoft.AspNet.Routing/Template/TemplateMatcher.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; using System.Diagnostics; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Template { diff --git a/src/Microsoft.AspNet.Routing/Template/TemplatePart.cs b/src/Microsoft.AspNet.Routing/Template/TemplatePart.cs index dc1195a82d..33dc5d719b 100644 --- a/src/Microsoft.AspNet.Routing/Template/TemplatePart.cs +++ b/src/Microsoft.AspNet.Routing/Template/TemplatePart.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Diagnostics; using System.Linq; +using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Routing.Template { diff --git a/src/Microsoft.AspNet.Routing/Template/TemplateRoute.cs b/src/Microsoft.AspNet.Routing/Template/TemplateRoute.cs index d0269f55f6..88f98a99e5 100644 --- a/src/Microsoft.AspNet.Routing/Template/TemplateRoute.cs +++ b/src/Microsoft.AspNet.Routing/Template/TemplateRoute.cs @@ -8,6 +8,7 @@ using Microsoft.AspNet.Http; using Microsoft.AspNet.Routing.Logging; using Microsoft.AspNet.Routing.Logging.Internal; using Microsoft.Framework.DependencyInjection; +using Microsoft.Framework.Internal; using Microsoft.Framework.Logging; namespace Microsoft.AspNet.Routing.Template diff --git a/src/Microsoft.AspNet.Routing/project.json b/src/Microsoft.AspNet.Routing/project.json index d1dc49139a..b6aeffd44e 100644 --- a/src/Microsoft.AspNet.Routing/project.json +++ b/src/Microsoft.AspNet.Routing/project.json @@ -7,7 +7,8 @@ "dependencies": { "Microsoft.AspNet.RequestContainer": "1.0.0-*", "Microsoft.AspNet.Http.Extensions": "1.0.0-*", - "Microsoft.Framework.Logging.Interfaces": "1.0.0-*" + "Microsoft.Framework.Logging.Interfaces": "1.0.0-*", + "Microsoft.Framework.NotNullAttribute.Internal": { "type": "build", "version": "1.0.0-*" } }, "frameworks": { "dnx451": {},