Class ExpressionDescriptionFactory
Implementation of IGetsExpressionDescription which creates expression description objects.
Inheritance
System.Object
ExpressionDescriptionFactory
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Expressions.CSharpExpressions
Assembly: ZptSharp.CSharpExpressions.dll
Syntax
public class ExpressionDescriptionFactory : IGetsExpressionDescription
Methods
| Improve this Doc View SourceGetDescription(String, IDictionary<String, Object>, IEnumerable<AssemblyReference>, IEnumerable<UsingNamespace>)
Gets the expression description matching the parameters.
Declaration
public ExpressionDescription GetDescription(string expression, IDictionary<string, object> allTalesValues, IEnumerable<AssemblyReference> additionalReferences = null, IEnumerable<UsingNamespace> additionalNamespaces = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | expression | The expression body. |
System.Collections.Generic.IDictionary<System.String, System.Object> | allTalesValues | A collection of all of the TALES variables which are in-scope |
System.Collections.Generic.IEnumerable<AssemblyReference> | additionalReferences | An optional collection of additional assembly references for the generated expression. |
System.Collections.Generic.IEnumerable<UsingNamespace> | additionalNamespaces | An optional collection of additional using namespaces for the generated expression. |
Returns
Type | Description |
---|---|
ExpressionDescription | An expression description. |