Class ExplicitSet
AST Node representing an explicit set definition, e.g.: in
From X In Timesheet Where X.Description In ('Some Description', 'Some Other Description') Select X
an instance of this node refers to "('Some Description', 'Some Other Description')".
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.QueryLanguage.Syntax
Assembly: TimeCockpit.Data.dll
Syntax
public class ExplicitSet : Set
Constructors
ExplicitSet(IEnumerable<Expression>)
Initializes a new instance of the ExplicitSet class.
Declaration
public ExplicitSet(IEnumerable<Expression> elements)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<Expression> | elements | The expressions producing the elements of the set. |
Properties
Elements
Gets the expressions of the elements of the set.
Declaration
public ReadOnlyCollection<Expression> Elements { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.ObjectModel.ReadOnlyCollection<Expression> |
Methods
Accept(Visitor)
Dispatches to the correct VisitQuery(Query) call.
Declaration
public override Node Accept(Visitor visitor)
Parameters
| Type | Name | Description |
|---|---|---|
| Visitor | visitor | The visitor to dispatch. |
Returns
| Type | Description |
|---|---|
| Node | Returns the value returned by the call to VisitQuery(Query). |