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)); }