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