File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
WebApiClientCore/Attributes/ReturnAttributes Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55namespace WebApiClientCore . Attributes
66{
77 /// <summary>
8- /// 表示json内容的结果特性
8+ /// 表示xml内容的结果特性
99 /// </summary>
1010 public class XmlReturnAttribute : ApiReturnAttribute
1111 {
@@ -15,15 +15,15 @@ public class XmlReturnAttribute : ApiReturnAttribute
1515 private static readonly MediaTypeHeaderValue textXml = new MediaTypeHeaderValue ( "text/xml" ) ;
1616
1717 /// <summary>
18- /// json内容的结果特性
18+ /// xml内容的结果特性
1919 /// </summary>
2020 public XmlReturnAttribute ( )
2121 : base ( new MediaTypeWithQualityHeaderValue ( XmlContent . MediaType ) )
2222 {
2323 }
2424
2525 /// <summary>
26- /// json内容的结果特性
26+ /// xml内容的结果特性
2727 /// </summary>
2828 /// <param name="acceptQuality">accept的质比</param>
2929 public XmlReturnAttribute ( double acceptQuality )
You can’t perform that action at this time.
0 commit comments