Class AliasAsAttribute
- Namespace
- Biwen.QuickApi.Attributes
- Assembly
- Biwen.QuickApi.dll
针对属性的别名, 一般用于Rsp,如果需要用于Req,请自定义Binder或者修改传输对象属性为Alias
[Obsolete("不再提供别名支持")]
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
public class AliasAsAttribute : Attribute
- Inheritance
-
AliasAsAttribute
- Inherited Members
- Extension Methods
Constructors
AliasAsAttribute(string)
针对属性的别名, 一般用于Rsp,如果需要用于Req,请自定义Binder或者修改传输对象属性为Alias
public AliasAsAttribute(string name)
Parameters
name
string
Properties
Name
public string Name { get; set; }