public static DynamicExpression GetMember(ActionBinder binder, string name, GetMemberBindingFlags getMemberFlags, Type result, params Expression[] arguments) { ContractUtils.RequiresNotNull(arguments, "arguments"); ContractUtils.Requires(arguments.Length > 0, "arguments"); return(Expression.Dynamic(OldGetMemberAction.Make(binder, name, getMemberFlags), result, arguments)); }
/// <summary> /// Creates ActionExpression representing a GetMember action. /// </summary> /// <param name="name">The qualifier.</param> /// <param name="result">Type of the result desired (The ActionExpression is strongly typed)</param> /// <param name="arguments">Array of arguments for the action expression</param> /// <param name="getMemberFlags">The binding flags for the get operation</param> /// <returns>New instance of the ActionExpression</returns> public static ActionExpression GetMember(SymbolId name, GetMemberBindingFlags getMemberFlags, Type result, params Expression[] arguments) { return(ActionExpression(GetMemberAction.Make(name, getMemberFlags), arguments, result)); }
private OldGetMemberAction(ActionBinder binder, SymbolId name, GetMemberBindingFlags bindingFlags) : base(binder, name) { _flags = bindingFlags; }
public static OldGetMemberAction Make(ActionBinder binder, SymbolId name, GetMemberBindingFlags bindingFlags) { ContractUtils.RequiresNotNull(binder, "binder"); return(new OldGetMemberAction(binder, name, bindingFlags)); }
public static OldGetMemberAction Make(ActionBinder binder, string name, GetMemberBindingFlags bindingFlags) { return(Make(binder, SymbolTable.StringToId(name), bindingFlags)); }
private GetMemberAction(SymbolId name, GetMemberBindingFlags bindingFlags) : base(name) { _flags = bindingFlags; }
public static GetMemberAction Make(SymbolId name, GetMemberBindingFlags bindingFlags) { return(new GetMemberAction(name, bindingFlags)); }
public static GetMemberAction Make(string name, GetMemberBindingFlags bindingFlags) { return(Make(SymbolTable.StringToId(name), bindingFlags)); }
public static DynamicExpression GetMember(ActionBinder binder, string name, GetMemberBindingFlags getMemberFlags, Type result, params Expression[] arguments) { ContractUtils.RequiresNotNull(arguments, "arguments"); ContractUtils.Requires(arguments.Length > 0, "arguments"); return Expression.Dynamic(OldGetMemberAction.Make(binder, name, getMemberFlags), result, arguments); }
/// <summary> /// Creates ActionExpression representing a GetMember action. /// </summary> /// <param name="name">The qualifier.</param> /// <param name="result">Type of the result desired (The ActionExpression is strongly typed)</param> /// <param name="arguments">Array of arguments for the action expression</param> /// <param name="getMemberFlags">The binding flags for the get operation</param> /// <returns>New instance of the ActionExpression</returns> public static ActionExpression GetMember(SymbolId name, GetMemberBindingFlags getMemberFlags, Type result, params Expression[] arguments) { return ActionExpression(GetMemberAction.Make(name, getMemberFlags), arguments, result); }