//Gets a parameter which can represent this type in the Translated Expression. //Since we have modified the projection, the value will be stored in Field0. public override Expression GetTranslatedParameterOrMember(ParameterExpression param) { return(Expression.MakeMemberAccess(param, TranslatedType.GetMember(PROJECTED_FIRST_FIELD).Single())); }
public HolderForClassWithTranslator(TranslatedType value) { _fieldWithTranslator = value; }