public PrependProperty ( string propertyName ) : void | ||
propertyName | string | |
Результат | void |
private static Expression ParseProperty(Expression current, MvxParsedExpression toReturn) { var me = (MemberExpression)current; toReturn.PrependProperty(me.Member.Name); current = me.Expression; return(current); }
private static IMvxParsedExpression ParseBindExtensionMethod(LambdaExpression propertyPath, object controlType) { var compiled = propertyPath.Compile(); var virtualPropertyName = compiled.DynamicInvoke(controlType) as string; var toReturn = new MvxParsedExpression(); toReturn.PrependProperty(virtualPropertyName); return(toReturn); }