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
- FileUtil.cs
- ContextStaticAttribute.cs
- PropertyRecord.cs
- ParentUndoUnit.cs
- SqlCommandBuilder.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- OrderedDictionaryStateHelper.cs
- Compiler.cs
- MetadataUtil.cs
- TextDataBindingHandler.cs
- ZipPackagePart.cs
- BamlRecordWriter.cs
- Convert.cs
- ToolStripGrip.cs
- ResourceCategoryAttribute.cs
- GlobalItem.cs
- ZipIOLocalFileBlock.cs
- MenuEventArgs.cs
- XmlIncludeAttribute.cs
- AppDomainResourcePerfCounters.cs
- AdPostCacheSubstitution.cs
- HttpChannelBindingToken.cs
- CopyOnWriteList.cs
- ZipArchive.cs
- OdbcConnectionFactory.cs
- ElementUtil.cs
- Decorator.cs
- BlockCollection.cs
- Matrix.cs
- TypeLibConverter.cs
- Native.cs
- EventWaitHandle.cs
- XmlIncludeAttribute.cs
- TextTabProperties.cs
- TabletCollection.cs
- Journal.cs
- PrintDialog.cs
- MenuItemStyleCollection.cs
- LayoutEngine.cs
- XmlSerializerFactory.cs
- ContentPropertyAttribute.cs
- ClientScriptManagerWrapper.cs
- EventDescriptor.cs
- PickBranchDesigner.xaml.cs
- DesignerHelpers.cs
- Transform.cs
- SQLDouble.cs
- ToolStripDesignerAvailabilityAttribute.cs
- LocatorBase.cs
- UserInitiatedNavigationPermission.cs
- WindowInteractionStateTracker.cs
- BatchParser.cs
- SmiEventSink_DeferedProcessing.cs
- OleDbWrapper.cs
- Compilation.cs
- StringSource.cs
- RangeBase.cs
- SizeAnimation.cs
- SqlParameterCollection.cs
- Attributes.cs
- SystemResources.cs
- Gdiplus.cs
- GlyphShapingProperties.cs
- WebSysDisplayNameAttribute.cs
- DataServiceOperationContext.cs
- ColorBlend.cs
- MarginsConverter.cs
- CasesDictionary.cs
- JoinCqlBlock.cs
- RpcResponse.cs
- CacheSection.cs
- IImplicitResourceProvider.cs
- MimeObjectFactory.cs
- ViewSimplifier.cs
- PageTheme.cs
- GradientBrush.cs
- PasswordBoxAutomationPeer.cs
- XslException.cs
- DefaultMemberAttribute.cs
- Connection.cs
- SafeSecurityHelper.cs
- JulianCalendar.cs
- ElementMarkupObject.cs
- CategoryGridEntry.cs
- LogRestartAreaEnumerator.cs
- FileSecurity.cs
- FigureParagraph.cs
- HttpUnhandledOperationInvoker.cs
- Int32Rect.cs
- FocusTracker.cs
- JavaScriptObjectDeserializer.cs
- PartitionResolver.cs
- ThreadAbortException.cs
- EmissiveMaterial.cs
- TextLine.cs
- DataPager.cs
- SR.cs
- MarkedHighlightComponent.cs
- _SecureChannel.cs
- MouseBinding.cs