Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ApplicationServiceManager.cs
- Queue.cs
- PeerPresenceInfo.cs
- SatelliteContractVersionAttribute.cs
- LayoutUtils.cs
- HttpHeaderCollection.cs
- UInt32.cs
- Point3DAnimationUsingKeyFrames.cs
- KeyGesture.cs
- SafeRightsManagementHandle.cs
- WebService.cs
- StreamSecurityUpgradeProvider.cs
- UndoManager.cs
- DocumentApplicationJournalEntry.cs
- InputScope.cs
- CounterCreationData.cs
- DataGridViewImageColumn.cs
- SqlCacheDependencyDatabase.cs
- OrderedDictionaryStateHelper.cs
- ColumnResizeAdorner.cs
- DeferredReference.cs
- ControlBuilder.cs
- SQLCharsStorage.cs
- CompiledXpathExpr.cs
- COM2ComponentEditor.cs
- Attachment.cs
- ClientTargetCollection.cs
- ChangePassword.cs
- ObjectStorage.cs
- XsdDuration.cs
- XmlSchemaAnnotation.cs
- MimeFormReflector.cs
- parserscommon.cs
- DesignerSerializerAttribute.cs
- FixedDSBuilder.cs
- SqlDependencyListener.cs
- DataPagerFieldItem.cs
- DataListGeneralPage.cs
- GetRecipientListRequest.cs
- UnauthorizedAccessException.cs
- ChtmlFormAdapter.cs
- ThreadAttributes.cs
- NonceCache.cs
- FileReservationCollection.cs
- Matrix3DStack.cs
- DataSourceCollectionBase.cs
- AnnotationStore.cs
- IsolatedStorage.cs
- ChannelSinkStacks.cs
- ConfigurationException.cs
- DaylightTime.cs
- XhtmlCssHandler.cs
- PageParserFilter.cs
- DependentList.cs
- CompositeKey.cs
- CommonGetThemePartSize.cs
- UIElementIsland.cs
- RenderDataDrawingContext.cs
- XsltArgumentList.cs
- SizeConverter.cs
- StreamGeometry.cs
- OpCellTreeNode.cs
- CultureInfoConverter.cs
- XsdValidatingReader.cs
- FileDialog.cs
- WebHttpSecurity.cs
- RadioButtonList.cs
- DeclarativeConditionsCollection.cs
- SelectionEditingBehavior.cs
- QilFactory.cs
- DragEvent.cs
- CacheSection.cs
- EditorPart.cs
- DbConnectionHelper.cs
- BinaryQueryOperator.cs
- TimersDescriptionAttribute.cs
- DataGridViewMethods.cs
- DPAPIProtectedConfigurationProvider.cs
- CompilerErrorCollection.cs
- SafeNativeMethods.cs
- MsmqHostedTransportConfiguration.cs
- ListItem.cs
- ForEachDesigner.xaml.cs
- WebPartMovingEventArgs.cs
- UiaCoreTypesApi.cs
- XslTransform.cs
- ellipse.cs
- ChangeInterceptorAttribute.cs
- ParserContext.cs
- EmptyControlCollection.cs
- CheckBoxAutomationPeer.cs
- HtmlProps.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- ApplicationActivator.cs
- InputMethod.cs
- TextParentUndoUnit.cs
- DataControlFieldCell.cs
- PointAnimationUsingPath.cs
- NotifyParentPropertyAttribute.cs
- TextCollapsingProperties.cs