ObjectDataSourceMethodEventArgs.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebControls / ObjectDataSourceMethodEventArgs.cs / 1 / ObjectDataSourceMethodEventArgs.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

namespace System.Web.UI.WebControls { 
 
    using System;
    using System.Collections.Specialized; 
    using System.ComponentModel;
    using System.Security.Permissions;

 
    /// 
    /// Represents data that is passed into an ObjectDataSourceMethodEventHandler delegate. 
    ///  
    [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
    [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
    public class ObjectDataSourceMethodEventArgs : CancelEventArgs {

        private IOrderedDictionary _inputParameters;
 

 
        ///  
        /// Creates a new instance of ObjectDataSourceMethodEventArgs.
        ///  
        public ObjectDataSourceMethodEventArgs(IOrderedDictionary inputParameters) {
            _inputParameters = inputParameters;
        }
 

 
        ///  
        /// The input parameters that will be passed to the method that will be invoked.
        /// Change these parameters if the names and/or types need to be modified 
        /// for the invocation to succeed.
        /// 
        public IOrderedDictionary InputParameters {
            get { 
                return _inputParameters;
            } 
        } 
    }
} 


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

namespace System.Web.UI.WebControls { 
 
    using System;
    using System.Collections.Specialized; 
    using System.ComponentModel;
    using System.Security.Permissions;

 
    /// 
    /// Represents data that is passed into an ObjectDataSourceMethodEventHandler delegate. 
    ///  
    [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
    [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
    public class ObjectDataSourceMethodEventArgs : CancelEventArgs {

        private IOrderedDictionary _inputParameters;
 

 
        ///  
        /// Creates a new instance of ObjectDataSourceMethodEventArgs.
        ///  
        public ObjectDataSourceMethodEventArgs(IOrderedDictionary inputParameters) {
            _inputParameters = inputParameters;
        }
 

 
        ///  
        /// The input parameters that will be passed to the method that will be invoked.
        /// Change these parameters if the names and/or types need to be modified 
        /// for the invocation to succeed.
        /// 
        public IOrderedDictionary InputParameters {
            get { 
                return _inputParameters;
            } 
        } 
    }
} 


// 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