private static bool SourceMemberIsDictionary( IMemberMapperData mapperData, out DictionarySourceMember sourceDictionaryMember) { sourceDictionaryMember = mapperData.GetDictionarySourceMemberOrNull(); return(sourceDictionaryMember != null); }
public static bool SourceMemberIsStringKeyedDictionary( this IMemberMapperData mapperData, out DictionarySourceMember dictionarySourceMember) { dictionarySourceMember = mapperData.GetDictionarySourceMemberOrNull(); if (dictionarySourceMember == null) { return(false); } return(dictionarySourceMember.KeyType == typeof(string)); }
public DictionaryEntryVariablePair(IMemberMapperData mapperData) : this(mapperData.GetDictionarySourceMemberOrNull(), mapperData) { }