Enable and Disable Interface renames

This commit is contained in:
Harsh Gupta 2015-03-18 10:08:45 -07:00
parent da6a4f2ab7
commit 57f22197a9
4 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ namespace Microsoft.AspNet.Cors.Core
{
/// <inheritdoc />
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class DisableCorsAttribute : Attribute, IDisableCorsMetadata
public class DisableCorsAttribute : Attribute, IDisableCorsAttribute
{
}
}

View File

@ -7,7 +7,7 @@ namespace Microsoft.AspNet.Cors.Core
{
/// <inheritdoc />
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class EnableCorsAttribute : Attribute, IEnableCorsMetadata
public class EnableCorsAttribute : Attribute, IEnableCorsAttribute
{
/// <summary>
/// Creates a new instance of the <see cref="EnableCorsAttribute"/>.

View File

@ -6,7 +6,7 @@ namespace Microsoft.AspNet.Cors.Core
/// <summary>
/// An interface which can be used to identify a type which provides metdata to disable cors for a resource.
/// </summary>
public interface IDisableCorsMetadata
public interface IDisableCorsAttribute
{
}
}