Skip to content

Commit b188465

Browse files
committed
Obsolete info for ResponseDataAttribute
1 parent 70419cb commit b188465

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System;
2+
3+
namespace Cuture.AspNetCore.ResponseAutoWrapper;
4+
5+
/// <summary>
6+
///
7+
/// </summary>
8+
[AttributeUsage(AttributeTargets.GenericParameter | AttributeTargets.Field | AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
9+
[Obsolete("此特性已移除,现在按约定进行配置,约定Data对应的泛型参数为最后一个泛型参数。", true)]
10+
public sealed class ResponseDataAttribute : Attribute
11+
{
12+
}

0 commit comments

Comments
 (0)