Class FunctionCall
- Assembly
- TimeCockpit.Data.dll
Ast Node representing a function call, e.g. in
From X In Timesheet Where X.Description = :Iif(X.BeginTime > #2012-10-10#, "Some Description", "Some OtherDescription") Select X
an instance of this class represents the ':Iif(X.BeginTime > #2012-10-10#, "Some Description", "Some OtherDescription")' function call and holds the parameter expressions as members (the Arguments collection).
public class FunctionCall : Expression
- Inheritance
-
ObjectFunctionCall
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
FunctionCall(String, IEnumerable<Expression>)
Initializes a new instance of the FunctionCall class.
public FunctionCall(string functionName, IEnumerable<Expression> arguments)
Parameters
functionNameStringThe name of the function to invoke.
argumentsIEnumerable<Expression>The parameters to the function.
Properties
Arguments
Gets the parameter expressions.
public ReadOnlyCollection<Expression> Arguments { get; }
Property Value
- ReadOnlyCollection<Expression>
FunctionName
Gets the name of the function that is to be called, without leading ':'
public string FunctionName { get; }
Property Value
- String
Methods
Accept(Visitor)
Dispatches to the correct VisitQuery(Query) method.
public override Node Accept(Visitor visitor)
Parameters
visitorVisitorThe visitor to dispatch to.
Returns
- Node
Returns the node value returned by VisitQuery(Query).