From d79969aecb27eb87de6cf7ddfc6527f554203724 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Mon, 21 Dec 2015 14:41:52 -0800 Subject: [PATCH] React to OptionsModel => Options --- src/Microsoft.AspNet.Cors/CorsService.cs | 2 +- src/Microsoft.AspNet.Cors/DefaultCorsPolicyProvider.cs | 2 +- src/Microsoft.AspNet.Cors/project.json | 2 +- test/Microsoft.AspNet.Cors.Test/TestCorsOptions.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Microsoft.AspNet.Cors/CorsService.cs b/src/Microsoft.AspNet.Cors/CorsService.cs index e8e2875..5ec194e 100644 --- a/src/Microsoft.AspNet.Cors/CorsService.cs +++ b/src/Microsoft.AspNet.Cors/CorsService.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; using Microsoft.AspNet.Http; -using Microsoft.Extensions.OptionsModel; +using Microsoft.Extensions.Options; using Microsoft.Extensions.Primitives; namespace Microsoft.AspNet.Cors.Infrastructure diff --git a/src/Microsoft.AspNet.Cors/DefaultCorsPolicyProvider.cs b/src/Microsoft.AspNet.Cors/DefaultCorsPolicyProvider.cs index d714231..b0887a9 100644 --- a/src/Microsoft.AspNet.Cors/DefaultCorsPolicyProvider.cs +++ b/src/Microsoft.AspNet.Cors/DefaultCorsPolicyProvider.cs @@ -4,7 +4,7 @@ using System; using System.Threading.Tasks; using Microsoft.AspNet.Http; -using Microsoft.Extensions.OptionsModel; +using Microsoft.Extensions.Options; namespace Microsoft.AspNet.Cors.Infrastructure { diff --git a/src/Microsoft.AspNet.Cors/project.json b/src/Microsoft.AspNet.Cors/project.json index 508cb6c..17732ed 100644 --- a/src/Microsoft.AspNet.Cors/project.json +++ b/src/Microsoft.AspNet.Cors/project.json @@ -12,7 +12,7 @@ "Microsoft.AspNet.Http.Extensions": "1.0.0-*", "Microsoft.Extensions.Configuration.Abstractions": "1.0.0-*", "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-*", - "Microsoft.Extensions.OptionsModel": "1.0.0-*" + "Microsoft.Extensions.Options": "1.0.0-*" }, "frameworks": { "net451": {}, diff --git a/test/Microsoft.AspNet.Cors.Test/TestCorsOptions.cs b/test/Microsoft.AspNet.Cors.Test/TestCorsOptions.cs index 41ede97..e7630f9 100644 --- a/test/Microsoft.AspNet.Cors.Test/TestCorsOptions.cs +++ b/test/Microsoft.AspNet.Cors.Test/TestCorsOptions.cs @@ -1,7 +1,7 @@ // 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. -using Microsoft.Extensions.OptionsModel; +using Microsoft.Extensions.Options; namespace Microsoft.AspNet.Cors.Infrastructure {