Exemple #1
0
        private static MemberExpressionCacheKey GetKey <TResult>(Expression <Func <TestModel, TResult> > expression)
        {
            var memberExpression = Assert2.IsAssignableFrom <MemberExpression>(expression.Body);

            return(new MemberExpressionCacheKey(typeof(TestModel), memberExpression));
        }