DataServiceProcessingPipelineEventArgs.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / DataServiceProcessingPipelineEventArgs.cs / 1305376 / DataServiceProcessingPipelineEventArgs.cs

                            //---------------------------------------------------------------------- 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//  
//      Event argument class for DataServiceProcessingPipeline events.
//  
// 
// @owner  [....]
//--------------------------------------------------------------------- 

namespace System.Data.Services
{
    #region Namespaces 

    using System; 
    using System.Diagnostics; 

    #endregion Namespaces 

    /// 
    /// Event argument class for DataServiceProcessingPipeline events.
    ///  
    public sealed class DataServiceProcessingPipelineEventArgs : EventArgs
    { 
        ///  
        /// Context for the operation which the current event is fired for.
        ///  
        private readonly DataServiceOperationContext operationContext;

        /// 
        /// Constructs a new instance of DataServicePipelineEventArgs object 
        /// 
        /// Context for the operation which the current event is fired for. 
        internal DataServiceProcessingPipelineEventArgs(DataServiceOperationContext operationContext) 
        {
            Debug.Assert(operationContext != null, "operationContext != null"); 
            this.operationContext = operationContext;
        }

        ///  
        /// Context for the operation which the current event is fired for.
        ///  
        public DataServiceOperationContext OperationContext 
        {
            [DebuggerStepThrough] 
            get { return this.operationContext; }
        }
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//---------------------------------------------------------------------- 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//  
//      Event argument class for DataServiceProcessingPipeline events.
//  
// 
// @owner  [....]
//--------------------------------------------------------------------- 

namespace System.Data.Services
{
    #region Namespaces 

    using System; 
    using System.Diagnostics; 

    #endregion Namespaces 

    /// 
    /// Event argument class for DataServiceProcessingPipeline events.
    ///  
    public sealed class DataServiceProcessingPipelineEventArgs : EventArgs
    { 
        ///  
        /// Context for the operation which the current event is fired for.
        ///  
        private readonly DataServiceOperationContext operationContext;

        /// 
        /// Constructs a new instance of DataServicePipelineEventArgs object 
        /// 
        /// Context for the operation which the current event is fired for. 
        internal DataServiceProcessingPipelineEventArgs(DataServiceOperationContext operationContext) 
        {
            Debug.Assert(operationContext != null, "operationContext != null"); 
            this.operationContext = operationContext;
        }

        ///  
        /// Context for the operation which the current event is fired for.
        ///  
        public DataServiceOperationContext OperationContext 
        {
            [DebuggerStepThrough] 
            get { return this.operationContext; }
        }
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.

                        

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