Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Transaction.cs
- NeedSkipTokenVisitor.cs
- AutomationPropertyInfo.cs
- StylusCaptureWithinProperty.cs
- Timer.cs
- PropertyTab.cs
- TaiwanLunisolarCalendar.cs
- ToolStripMenuItemCodeDomSerializer.cs
- FileVersion.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- NonSerializedAttribute.cs
- ValueExpressions.cs
- storagemappingitemcollection.viewdictionary.cs
- PolyBezierSegment.cs
- SqlDataSourceFilteringEventArgs.cs
- EntityClientCacheEntry.cs
- PostBackOptions.cs
- DataGridViewCellValidatingEventArgs.cs
- COM2FontConverter.cs
- RectConverter.cs
- CodeAttributeDeclarationCollection.cs
- NonBatchDirectoryCompiler.cs
- ValuePattern.cs
- AdornerHitTestResult.cs
- SystemShuttingDownException.cs
- Misc.cs
- TextEditorThreadLocalStore.cs
- ExcCanonicalXml.cs
- MethodBody.cs
- UdpDiscoveryEndpoint.cs
- Point3DCollectionConverter.cs
- brushes.cs
- DayRenderEvent.cs
- DeadLetterQueue.cs
- DefaultAsyncDataDispatcher.cs
- EntityEntry.cs
- GridViewPageEventArgs.cs
- HttpCapabilitiesBase.cs
- Margins.cs
- DrawListViewItemEventArgs.cs
- NavigateEvent.cs
- CodeAccessPermission.cs
- CalloutQueueItem.cs
- DummyDataSource.cs
- Typography.cs
- RowBinding.cs
- XmlStreamStore.cs
- ThemeDirectoryCompiler.cs
- IOThreadTimer.cs
- StreamingContext.cs
- DataControlExtensions.cs
- WebConfigurationFileMap.cs
- RtfToken.cs
- TextSelectionProcessor.cs
- AccessViolationException.cs
- XmlParserContext.cs
- InputElement.cs
- SmtpFailedRecipientsException.cs
- Color.cs
- WindowsAuthenticationModule.cs
- PropertyCondition.cs
- FontWeightConverter.cs
- SizeFConverter.cs
- IISMapPath.cs
- FixedSOMFixedBlock.cs
- RijndaelManaged.cs
- SessionPageStatePersister.cs
- EventDescriptor.cs
- FunctionCommandText.cs
- BitmapMetadata.cs
- StringSorter.cs
- WebPartVerbsEventArgs.cs
- Rect.cs
- RenderOptions.cs
- Parser.cs
- ParserStreamGeometryContext.cs
- LayoutUtils.cs
- ObjectStateEntryDbDataRecord.cs
- BoundPropertyEntry.cs
- CornerRadiusConverter.cs
- ViewStateModeByIdAttribute.cs
- UniqueConstraint.cs
- ItemCheckedEvent.cs
- SemanticAnalyzer.cs
- RightsManagementEncryptionTransform.cs
- DataTableReader.cs
- AppSettingsExpressionEditor.cs
- FileDialogCustomPlace.cs
- AccessibleObject.cs
- updatecommandorderer.cs
- BamlReader.cs
- HttpRequestTraceRecord.cs
- CreateUserWizard.cs
- ListViewEditEventArgs.cs
- CompositeActivityDesigner.cs
- OuterGlowBitmapEffect.cs
- IdnMapping.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- StandardOleMarshalObject.cs
- RecordBuilder.cs