public HasApplicableAttribute ( |
||
attributeType | ||
Résultat | bool |
public LightSerializationMember(SerializationMemberInfo memberInfo) { this.Getter = memberInfo.Getter; this.Setter = memberInfo.Setter; this.Serializer = memberInfo.Serializer; this.MemberInfo = memberInfo.MemberInfo; this.SerializedName = memberInfo.GetSerializedName(); this.SerializeAsCData = memberInfo.SerializeAsCData; this.XmlTreatAsNullIfEmpty = memberInfo.HasApplicableAttribute(typeof(XmlTreatAsNullIfEmptyAttribute)); this.LogicalType = memberInfo.LogicalType; }
public LightSerializationMember(SerializationMemberInfo memberInfo) { this.Getter = memberInfo.Getter; this.Setter = memberInfo.Setter; this.Serializer = memberInfo.Serializer; this.MemberInfo = memberInfo.MemberInfo; this.SerializedName = memberInfo.GetSerializedName(); this.SerializeAsCData = memberInfo.SerializeAsCData; this.XmlTreatAsNullIfEmpty = memberInfo.HasApplicableAttribute(typeof(XmlTreatAsNullIfEmptyAttribute)); this.LogicalType = memberInfo.LogicalType; }