Share via


ExpressionTypeChecker Class

Collection of extension methods to assert that an expression is of the required type.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.Validation.ExpressionTypeChecker

Namespace:  Microsoft.Data.Edm.Validation
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ExpressionTypeChecker
'Usage
public static class ExpressionTypeChecker
[ExtensionAttribute]
public ref class ExpressionTypeChecker abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ExpressionTypeChecker =  class end
public final class ExpressionTypeChecker

Methods

  Name Description
Public methodStatic member TryAssertType(IEdmExpression, IEdmTypeReference, IEnumerable<EdmError>%) Determines if the type of an expression is compatible with the provided type.
Public methodStatic member TryAssertType(IEdmExpression, IEdmTypeReference, IEdmType, Boolean, IEnumerable<EdmError>%) Determines if the type of an expression is compatible with the provided type

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.Edm.Validation Namespace