System.Xml.Serialization.XmlSerializationReaderCodeGen.GetChoiceIdentifierSource C# (CSharp) Method

GetChoiceIdentifierSource() private method

private GetChoiceIdentifierSource ( MemberMapping mapping, string parent, TypeDesc parentTypeDesc ) : string
mapping MemberMapping
parent string
parentTypeDesc TypeDesc
return string
        private string GetChoiceIdentifierSource(MemberMapping mapping, string parent, TypeDesc parentTypeDesc)
        {
            if (mapping.ChoiceIdentifier == null) return "";
            CodeIdentifier.CheckValidIdentifier(mapping.ChoiceIdentifier.MemberName);
            return RaCodeGen.GetStringForMember(parent, mapping.ChoiceIdentifier.MemberName, parentTypeDesc);
        }

Same methods

XmlSerializationReaderCodeGen::GetChoiceIdentifierSource ( MemberMapping mappings, MemberMapping member ) : string