Platform.Xml.Serialization.SerializationMemberInfo.LoadAttributes C# (CSharp) Method

LoadAttributes() private method

private LoadAttributes ( SerializerOptions options ) : void
options SerializerOptions
return void
        private void LoadAttributes(SerializerOptions options)
        {
            applicableMemberAttributes = ExtractApplicableAttributes(GetCustomAttributes(memberInfo, typeof (XmlSerializationAttribute), true), options);

            if (memberInfo is Type)
            {
                applicableTypeAttributes = applicableMemberAttributes;
            }
            else
            {
                applicableTypeAttributes = ExtractApplicableAttributes(GetCustomAttributes(GetDeclaredType(memberInfo), typeof (XmlSerializationAttribute), true), options);
            }
        }