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 / ObjectDataSourceDisposingEventArgs.cs / 1 / ObjectDataSourceDisposingEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.ComponentModel; using System.Security.Permissions; ////// Represents data that is passed into an ObjectDataSourceDisposingEventHandler delegate. /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ObjectDataSourceDisposingEventArgs : CancelEventArgs { private object _objectInstance; ////// Creates a new instance of ObjectDataSourceDisposingEventArgs. /// public ObjectDataSourceDisposingEventArgs(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; } } } } // 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.ComponentModel; using System.Security.Permissions; ////// Represents data that is passed into an ObjectDataSourceDisposingEventHandler delegate. /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ObjectDataSourceDisposingEventArgs : CancelEventArgs { private object _objectInstance; ////// Creates a new instance of ObjectDataSourceDisposingEventArgs. /// public ObjectDataSourceDisposingEventArgs(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; } } } } // 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
- ParallelSeparator.xaml.cs
- TrustSection.cs
- ColorTranslator.cs
- ExecutedRoutedEventArgs.cs
- Evaluator.cs
- DynamicObjectAccessor.cs
- TypeLibConverter.cs
- ColorKeyFrameCollection.cs
- CopyOnWriteList.cs
- OperationResponse.cs
- PageAsyncTask.cs
- LayoutSettings.cs
- LicenseProviderAttribute.cs
- RectangleHotSpot.cs
- SqlServices.cs
- UnsafeNativeMethodsCLR.cs
- StyleBamlTreeBuilder.cs
- AssemblyNameProxy.cs
- Run.cs
- BlockUIContainer.cs
- DBCommand.cs
- PagesSection.cs
- PanelContainerDesigner.cs
- EntityViewGenerationAttribute.cs
- FacetValues.cs
- HtmlHead.cs
- LongPath.cs
- GridItem.cs
- DebugControllerThread.cs
- DashStyle.cs
- WebMessageEncodingBindingElement.cs
- TextCollapsingProperties.cs
- CodeGroup.cs
- AccessKeyManager.cs
- BitmapSourceSafeMILHandle.cs
- _DisconnectOverlappedAsyncResult.cs
- _TimerThread.cs
- ItemsControl.cs
- BoolExpressionVisitors.cs
- DataServiceStreamProviderWrapper.cs
- BCLDebug.cs
- SafeTimerHandle.cs
- SimpleLine.cs
- XmlProcessingInstruction.cs
- GroupBox.cs
- IsolatedStorageFile.cs
- StrokeFIndices.cs
- DnsPermission.cs
- basenumberconverter.cs
- ImageFormatConverter.cs
- SafeMarshalContext.cs
- HtmlEncodedRawTextWriter.cs
- HttpRequestCacheValidator.cs
- StringFreezingAttribute.cs
- HttpHandlersSection.cs
- HandoffBehavior.cs
- UrlPath.cs
- TextBoxBase.cs
- MouseButton.cs
- TemplateBamlTreeBuilder.cs
- ListViewGroup.cs
- XmlSerializationGeneratedCode.cs
- CallContext.cs
- PerformanceCounterPermission.cs
- BatchStream.cs
- wmiprovider.cs
- RuntimeDelegateArgument.cs
- StyleSheetComponentEditor.cs
- Set.cs
- CompiledRegexRunner.cs
- OdbcConnectionStringbuilder.cs
- XsltCompileContext.cs
- ValidatedMobileControlConverter.cs
- ThreadSafeList.cs
- RoleManagerModule.cs
- DataGridCommandEventArgs.cs
- List.cs
- SelectionItemPattern.cs
- PopupRoot.cs
- FixedTextPointer.cs
- NativeMethods.cs
- Margins.cs
- PluralizationService.cs
- CompilerWrapper.cs
- GridItemProviderWrapper.cs
- Opcode.cs
- CommandID.cs
- CodeAssignStatement.cs
- QilName.cs
- COM2EnumConverter.cs
- ProcessRequestArgs.cs
- TemplateFactory.cs
- TimersDescriptionAttribute.cs
- DataFormats.cs
- HtmlEncodedRawTextWriter.cs
- TextTreeUndo.cs
- XmlNodeChangedEventArgs.cs
- RenamedEventArgs.cs
- SizeConverter.cs
- ProxySimple.cs