Class ConfiguredDefaultExpressionTypeDecorator
Decorator for the IGetsExpressionType service. If the wrapped service does not produce a non-null result, then this decorator returns the DefaultExpressionType.
Inheritance
System.Object
ConfiguredDefaultExpressionTypeDecorator
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
Assembly: ZptSharp.dll
Syntax
public class ConfiguredDefaultExpressionTypeDecorator : IGetsExpressionType
Constructors
| Improve this Doc View SourceConfiguredDefaultExpressionTypeDecorator(IGetsExpressionType, RenderingConfig)
Initializes a new instance of the ConfiguredDefaultExpressionTypeDecorator class.
Declaration
public ConfiguredDefaultExpressionTypeDecorator(IGetsExpressionType wrapped, RenderingConfig config)
Parameters
Type | Name | Description |
---|---|---|
IGetsExpressionType | wrapped | Wrapped. |
RenderingConfig | config | Config. |
Methods
| Improve this Doc View SourceGetExpressionType(String)
Gets the expression type for the specified expression
.
Declaration
public string GetExpressionType(string expression)
Parameters
Type | Name | Description |
---|---|---|
System.String | expression | An expression. |
Returns
Type | Description |
---|---|
System.String | The expression type. |