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
- MaterialCollection.cs
- SystemFonts.cs
- TypedLocationWrapper.cs
- XamlSerializerUtil.cs
- InstalledFontCollection.cs
- SqlDeflator.cs
- PointLight.cs
- MultilineStringEditor.cs
- StringSource.cs
- LogLogRecord.cs
- PathGeometry.cs
- mediaclock.cs
- SetterTriggerConditionValueConverter.cs
- webclient.cs
- PointHitTestResult.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- QueryableDataSource.cs
- HashAlgorithm.cs
- ScalarConstant.cs
- DocumentSchemaValidator.cs
- EventPropertyMap.cs
- TreeWalkHelper.cs
- ExpressionBinding.cs
- MetaForeignKeyColumn.cs
- DataRecord.cs
- WinFormsSpinner.cs
- ISCIIEncoding.cs
- System.Data.OracleClient_BID.cs
- TabPage.cs
- ASCIIEncoding.cs
- HotSpotCollection.cs
- SymmetricKeyWrap.cs
- RoutedEventHandlerInfo.cs
- XMLUtil.cs
- TextLineResult.cs
- StatusBarPanelClickEvent.cs
- DataRelationCollection.cs
- Condition.cs
- Directory.cs
- Variable.cs
- Flattener.cs
- ComplexPropertyEntry.cs
- ParameterElementCollection.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- EventLog.cs
- NodeFunctions.cs
- Preprocessor.cs
- FaultFormatter.cs
- XhtmlBasicTextBoxAdapter.cs
- CheckedListBox.cs
- ProcessHostFactoryHelper.cs
- ColumnCollectionEditor.cs
- Quack.cs
- InputScope.cs
- StaticFileHandler.cs
- WebPartDisplayModeEventArgs.cs
- GridView.cs
- ContainsRowNumberChecker.cs
- PathStreamGeometryContext.cs
- CompilerGlobalScopeAttribute.cs
- PersonalizationStateQuery.cs
- Debug.cs
- IgnorePropertiesAttribute.cs
- BinaryNode.cs
- ContractBase.cs
- RepeaterItem.cs
- DbConnectionStringBuilder.cs
- dtdvalidator.cs
- TextSearch.cs
- ConstructorExpr.cs
- ListViewItemMouseHoverEvent.cs
- ObjectDataSourceSelectingEventArgs.cs
- InvalidCommandTreeException.cs
- SizeF.cs
- AssemblyAssociatedContentFileAttribute.cs
- remotingproxy.cs
- Label.cs
- TextSearch.cs
- TrustManagerMoreInformation.cs
- SafeNativeMethods.cs
- SafeLibraryHandle.cs
- FileAuthorizationModule.cs
- ServicePoint.cs
- PrintingPermission.cs
- DesignerAttributeInfo.cs
- StickyNote.cs
- webbrowsersite.cs
- MultipartIdentifier.cs
- AppModelKnownContentFactory.cs
- MemberAccessException.cs
- ObjectKeyFrameCollection.cs
- FormViewPagerRow.cs
- XmlObjectSerializerContext.cs
- RtfToXamlLexer.cs
- TextComposition.cs
- RowVisual.cs
- FixedDSBuilder.cs
- NonClientArea.cs
- UIElementCollection.cs
- InstallerTypeAttribute.cs