反序列化枚举类型
public 银行卡类型 marcaTarjeta { get; set; }
public enum 银行卡类型
{
[XmlEnum(Name = "0")]
UnKnown = 0,
[XmlEnum(Name = "1")]
VISA = 1,
[XmlEnum(Name = "2")]
MASTERCARD = 2,
[XmlEnum(Name = "6")]
DINERS = 6,
[XmlEnum(Name = "8")]
AMEX = 8,
[XmlEnum(Name = "9")]
JCB = 9,
[XmlEnum(Name = "22")]
CUP = 22,
}
标签:XML,Name,22,XmlEnum,笔记,序列化,public
From: https://www.cnblogs.com/densen2014/p/17483861.html