Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebControls / ObjectDataSourceEventArgs.cs / 1 / ObjectDataSourceEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System;
using System.Collections;
using System.Security.Permissions;
///
/// Represents data that is passed into an ObjectDataSourceObjectEventHandler delegate.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class ObjectDataSourceEventArgs : EventArgs {
private object _objectInstance;
///
/// Creates a new instance of ObjectDataSourceEventArgs.
///
public ObjectDataSourceEventArgs(object objectInstance) : base() {
_objectInstance = objectInstance;
}
///
/// The instance of the object created by the ObjectDataSource. Set this
/// property if you need to create the object using a non-default
/// constructor.
///
public object ObjectInstance {
get {
return _objectInstance;
}
set {
_objectInstance = value;
}
}
}
}
// 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;
using System.Security.Permissions;
///
/// Represents data that is passed into an ObjectDataSourceObjectEventHandler delegate.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class ObjectDataSourceEventArgs : EventArgs {
private object _objectInstance;
///
/// Creates a new instance of ObjectDataSourceEventArgs.
///
public ObjectDataSourceEventArgs(object objectInstance) : base() {
_objectInstance = objectInstance;
}
///
/// The instance of the object created by the ObjectDataSource. Set this
/// property if you need to create the object using a non-default
/// constructor.
///
public object ObjectInstance {
get {
return _objectInstance;
}
set {
_objectInstance = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PaintValueEventArgs.cs
- PeerIPHelper.cs
- ConversionValidationRule.cs
- CodeAttributeDeclarationCollection.cs
- SQLCharsStorage.cs
- EdmTypeAttribute.cs
- SystemIPGlobalProperties.cs
- DataSvcMapFile.cs
- TTSEngineTypes.cs
- TransformCollection.cs
- TextWriter.cs
- Crypto.cs
- SafeEventHandle.cs
- TransferMode.cs
- EntityDataReader.cs
- Comparer.cs
- Collection.cs
- SQLMoney.cs
- SelectionRange.cs
- MembershipSection.cs
- ChangeProcessor.cs
- Visitor.cs
- SystemDiagnosticsSection.cs
- SqlInfoMessageEvent.cs
- SqlComparer.cs
- EntityTypeBase.cs
- UrlMappingsSection.cs
- BitmapFrameEncode.cs
- XmlArrayAttribute.cs
- HuffCodec.cs
- DragDrop.cs
- ReturnValue.cs
- ProbeRequestResponseAsyncResult.cs
- DrawingDrawingContext.cs
- LinearKeyFrames.cs
- XmlHierarchicalEnumerable.cs
- JulianCalendar.cs
- PageThemeBuildProvider.cs
- ByteAnimation.cs
- ProfileInfo.cs
- Helper.cs
- _NestedSingleAsyncResult.cs
- ViewStateModeByIdAttribute.cs
- SmiContext.cs
- DoubleLinkList.cs
- PipelineModuleStepContainer.cs
- TextStore.cs
- EncryptedData.cs
- BaseTemplateCodeDomTreeGenerator.cs
- XhtmlStyleClass.cs
- EditorPartCollection.cs
- HtmlMobileTextWriter.cs
- InputReport.cs
- HeaderUtility.cs
- JournalEntry.cs
- BaseCodePageEncoding.cs
- ApplicationDirectory.cs
- ChangesetResponse.cs
- ImageSource.cs
- GroupBoxRenderer.cs
- TrackingLocation.cs
- Win32NamedPipes.cs
- NullableDecimalMinMaxAggregationOperator.cs
- ProjectionRewriter.cs
- GeneratedCodeAttribute.cs
- XPathNavigator.cs
- Rotation3D.cs
- TemplateBuilder.cs
- ManipulationStartedEventArgs.cs
- DataReceivedEventArgs.cs
- CodeCompileUnit.cs
- MessageLoggingElement.cs
- OpCodes.cs
- XmlProcessingInstruction.cs
- FontFamily.cs
- DataServiceQueryOfT.cs
- ContractInstanceProvider.cs
- ConsumerConnectionPointCollection.cs
- BuildProvider.cs
- RequestCacheManager.cs
- ContentDesigner.cs
- ToggleProviderWrapper.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- CompoundFileStorageReference.cs
- X509LogoTypeExtension.cs
- TreeNodeCollectionEditor.cs
- PartBasedPackageProperties.cs
- ResXBuildProvider.cs
- XmlConvert.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Facet.cs
- UnsafeNativeMethods.cs
- WriteFileContext.cs
- Slider.cs
- HScrollProperties.cs
- SerializationAttributes.cs
- Ops.cs
- RepeatInfo.cs
- GetUserPreferenceRequest.cs
- RSAPKCS1SignatureDeformatter.cs