Class ExpressionCollection
Ordered readonly collection of named expressions.
public class ExpressionCollection : IEnumerable<NamedExpressionElement>, IEnumerable
- Inheritance
-
ExpressionCollection
- Implements
- Inherited Members
Properties
Count
Number of expressions in the collection.
public int Count { get; }
Property Value
this[string]
Retrieves single expression by name.
public NamedExpressionElement this[string name] { get; }
Parameters
name
stringExpression name.
Property Value
- NamedExpressionElement
Matching expression.
Methods
Find(string)
Retrieves expressions by name.
public IEnumerable<NamedExpressionElement> Find(string name)
Parameters
name
stringExpression name.
Returns
- IEnumerable<NamedExpressionElement>
Matching expression or empty IEnumerable.
FindSingleOrDefault(string)
Retrieves single expression by name.
public NamedExpressionElement FindSingleOrDefault(string name)
Parameters
name
stringExpression name.
Returns
- NamedExpressionElement
Matching expression or
null
.
GetEnumerator()
Returns an enumerator for the contained expression elements.
public IEnumerator<NamedExpressionElement> GetEnumerator()