RefExpr.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / AST / RefExpr.cs / 1305376 / RefExpr.cs

                            //---------------------------------------------------------------------- 
// 
//      Copyproperty (c) Microsoft Corporation.  All propertys reserved.
// 
// 
// @owner  [....]
// @backupOwner [....] 
//--------------------------------------------------------------------- 

namespace System.Data.Common.EntitySql.AST 
{
    using System;
    using System.Globalization;
    using System.Collections; 
    using System.Collections.Generic;
 
    ///  
    /// Represents REF(expr) expression.
    ///  
    internal sealed class RefExpr : Node
    {
        private readonly Node _argExpr;
 
        /// 
        /// Initializes REF expression node. 
        ///  
        internal RefExpr(Node refArgExpr)
        { 
            _argExpr = refArgExpr;
        }

        ///  
        /// Return ref argument expression.
        ///  
        internal Node ArgExpr 
        {
            get { return _argExpr; } 
        }
    }

    ///  
    /// Represents DEREF(epxr) expression.
    ///  
    internal sealed class DerefExpr : Node 
    {
        private Node _argExpr; 

        /// 
        /// Initializes DEREF expression node.
        ///  
        internal DerefExpr(Node derefArgExpr)
        { 
            _argExpr = derefArgExpr; 
        }
 
        /// 
        /// Ieturns ref argument expression.
        /// 
        internal Node ArgExpr 
        {
            get { return _argExpr; } 
        } 
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK