Show / Hide Table of Contents

Class PrefixExpressionTypeProvider

Implementation of IGetsExpressionType which reads the expression prefix. This class also implements IRemovesPrefixFromExpression.

Inheritance
System.Object
PrefixExpressionTypeProvider
Implements
IGetsExpressionType
IRemovesPrefixFromExpression
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 Source

GetExpressionType(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.

| Improve this Doc View Source

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.

Implements

IGetsExpressionType
IRemovesPrefixFromExpression
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX