Class PrefixExpressionTypeProvider
Implementation of IGetsExpressionType which reads the expression prefix. This class also implements IRemovesPrefixFromExpression.
Inheritance
System.Object
PrefixExpressionTypeProvider
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 PrefixExpressionTypeProvider : IGetsExpressionType, IRemovesPrefixFromExpression
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. |
GetExpressionWithoutPrefix(String)
Gets the expression with its expression-type prefix removed (if it had one).
Declaration
public string GetExpressionWithoutPrefix(string expression)
Parameters
Type | Name | Description |
---|---|---|
System.String | expression | An expression which might have a prefix. |
Returns
Type | Description |
---|---|
System.String | The expression with its prefix removed. |