Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

44 lines
1.4 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="ObjectDataSourceMethodEventArgs.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System;
using System.Collections.Specialized;
using System.ComponentModel;
/// <devdoc>
/// Represents data that is passed into an ObjectDataSourceMethodEventHandler delegate.
/// </devdoc>
public class ObjectDataSourceMethodEventArgs : CancelEventArgs {
private IOrderedDictionary _inputParameters;
/// <devdoc>
/// Creates a new instance of ObjectDataSourceMethodEventArgs.
/// </devdoc>
public ObjectDataSourceMethodEventArgs(IOrderedDictionary inputParameters) {
_inputParameters = inputParameters;
}
/// <devdoc>
/// 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.
/// </devdoc>
public IOrderedDictionary InputParameters {
get {
return _inputParameters;
}
}
}
}