예제 #1
0
 public TypeMappingEntry TryGet(ILanguage fromLanguage, string fromType, ILanguage toLanguage)
 {
     fromLanguage.AssertIsNotNull(nameof(fromLanguage));
     fromType.AssertIsNotNull(nameof(fromType));
     toLanguage.AssertIsNotNull(nameof(toLanguage));
     return(this.typeMapping.FirstOrDefault(x => x.FromLanguage == fromLanguage && x.FromType == fromType && x.ToLanguage == toLanguage));
 }