File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Attributes/ReturnAttributes Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ private static IEnumerable<IApiReturnAttribute> GetDefaultAttributes(ApiDataType
9090 {
9191 yield return new JsonReturnAttribute ( acceptQuality ) ;
9292 yield return new XmlReturnAttribute ( acceptQuality ) ;
93- yield return new NoContentReturnAttribute ( acceptQuality ) ;
93+ yield return new NoneReturnAttribute ( acceptQuality ) ;
9494 }
9595 }
9696
Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ namespace WebApiClientCore.Attributes
88 /// 表示无内容的结果特性
99 /// 将结果设置为类型的默认值
1010 /// </summary>
11- public sealed class NoContentReturnAttribute : SpecialReturnAttribute
11+ public sealed class NoneReturnAttribute : SpecialReturnAttribute
1212 {
1313 /// <summary>
1414 /// 无内容的结果特性
1515 /// </summary>
16- public NoContentReturnAttribute ( )
16+ public NoneReturnAttribute ( )
1717 : base ( )
1818 {
1919 }
@@ -22,7 +22,7 @@ public NoContentReturnAttribute()
2222 /// 无内容的结果特性
2323 /// </summary>
2424 /// <param name="acceptQuality">accept的质比</param>
25- public NoContentReturnAttribute ( double acceptQuality )
25+ public NoneReturnAttribute ( double acceptQuality )
2626 : base ( acceptQuality )
2727 {
2828 }
You can’t perform that action at this time.
0 commit comments