コード例 #1
0
        internal ODataExpression(ODataExpressionKind kind, ODataExpressionType type, Type clrType)
        {
            Throw.IfNull(clrType, "clrType");
            Throw.If(!type.IsCompatibleWith(clrType), "clrType must be compatible with kind");

            this.Kind    = kind;
            this.Type    = type;
            this.ClrType = clrType;
        }
コード例 #2
0
        internal ODataExpression(ODataExpressionKind kind, ODataExpressionType type, Type clrType)
        {
            Throw.IfNull(clrType, "clrType");
            Throw.If(!type.IsCompatibleWith(clrType), "clrType must be compatible with kind");

            this.Kind = kind;
            this.Type = type;
            this.ClrType = clrType;
        }