Enable and Disable Interface renames
This commit is contained in:
parent
da6a4f2ab7
commit
57f22197a9
|
|
@ -7,7 +7,7 @@ namespace Microsoft.AspNet.Cors.Core
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
|
||||||
public class DisableCorsAttribute : Attribute, IDisableCorsMetadata
|
public class DisableCorsAttribute : Attribute, IDisableCorsAttribute
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -7,7 +7,7 @@ namespace Microsoft.AspNet.Cors.Core
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
|
||||||
public class EnableCorsAttribute : Attribute, IEnableCorsMetadata
|
public class EnableCorsAttribute : Attribute, IEnableCorsAttribute
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates a new instance of the <see cref="EnableCorsAttribute"/>.
|
/// Creates a new instance of the <see cref="EnableCorsAttribute"/>.
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ namespace Microsoft.AspNet.Cors.Core
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An interface which can be used to identify a type which provides metdata to disable cors for a resource.
|
/// An interface which can be used to identify a type which provides metdata to disable cors for a resource.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IDisableCorsMetadata
|
public interface IDisableCorsAttribute
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue