From 57f22197a944c9bf782e7b328b7f158065f61698 Mon Sep 17 00:00:00 2001 From: Harsh Gupta Date: Wed, 18 Mar 2015 10:08:45 -0700 Subject: [PATCH] Enable and Disable Interface renames --- src/Microsoft.AspNet.Cors.Core/DisableCorsAttribute.cs | 2 +- src/Microsoft.AspNet.Cors.Core/EnableCorsAttribute.cs | 2 +- .../{IDisableCorsMetadata.cs => IDisableCorsAttribute.cs} | 2 +- .../{IEnableCorsMetadata.cs => IEnableCorsAttribute.cs} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/Microsoft.AspNet.Cors.Core/{IDisableCorsMetadata.cs => IDisableCorsAttribute.cs} (89%) rename src/Microsoft.AspNet.Cors.Core/{IEnableCorsMetadata.cs => IEnableCorsAttribute.cs} (100%) diff --git a/src/Microsoft.AspNet.Cors.Core/DisableCorsAttribute.cs b/src/Microsoft.AspNet.Cors.Core/DisableCorsAttribute.cs index 4ebcb449b1..162915e266 100644 --- a/src/Microsoft.AspNet.Cors.Core/DisableCorsAttribute.cs +++ b/src/Microsoft.AspNet.Cors.Core/DisableCorsAttribute.cs @@ -7,7 +7,7 @@ namespace Microsoft.AspNet.Cors.Core { /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = false)] - public class DisableCorsAttribute : Attribute, IDisableCorsMetadata + public class DisableCorsAttribute : Attribute, IDisableCorsAttribute { } } \ No newline at end of file diff --git a/src/Microsoft.AspNet.Cors.Core/EnableCorsAttribute.cs b/src/Microsoft.AspNet.Cors.Core/EnableCorsAttribute.cs index d53016e09f..3e7bf2aa0d 100644 --- a/src/Microsoft.AspNet.Cors.Core/EnableCorsAttribute.cs +++ b/src/Microsoft.AspNet.Cors.Core/EnableCorsAttribute.cs @@ -7,7 +7,7 @@ namespace Microsoft.AspNet.Cors.Core { /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)] - public class EnableCorsAttribute : Attribute, IEnableCorsMetadata + public class EnableCorsAttribute : Attribute, IEnableCorsAttribute { /// /// Creates a new instance of the . diff --git a/src/Microsoft.AspNet.Cors.Core/IDisableCorsMetadata.cs b/src/Microsoft.AspNet.Cors.Core/IDisableCorsAttribute.cs similarity index 89% rename from src/Microsoft.AspNet.Cors.Core/IDisableCorsMetadata.cs rename to src/Microsoft.AspNet.Cors.Core/IDisableCorsAttribute.cs index 6afe8fc272..a9e5566baf 100644 --- a/src/Microsoft.AspNet.Cors.Core/IDisableCorsMetadata.cs +++ b/src/Microsoft.AspNet.Cors.Core/IDisableCorsAttribute.cs @@ -6,7 +6,7 @@ namespace Microsoft.AspNet.Cors.Core /// /// An interface which can be used to identify a type which provides metdata to disable cors for a resource. /// - public interface IDisableCorsMetadata + public interface IDisableCorsAttribute { } } \ No newline at end of file diff --git a/src/Microsoft.AspNet.Cors.Core/IEnableCorsMetadata.cs b/src/Microsoft.AspNet.Cors.Core/IEnableCorsAttribute.cs similarity index 100% rename from src/Microsoft.AspNet.Cors.Core/IEnableCorsMetadata.cs rename to src/Microsoft.AspNet.Cors.Core/IEnableCorsAttribute.cs