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
- ExtractedStateEntry.cs
- EmptyEnumerable.cs
- LocalizedNameDescriptionPair.cs
- PersonalizationStateInfoCollection.cs
- Ray3DHitTestResult.cs
- SyndicationDeserializer.cs
- DebugTrace.cs
- LocalizableResourceBuilder.cs
- SemanticKeyElement.cs
- DBSchemaTable.cs
- ClientSettingsSection.cs
- SendKeys.cs
- EncoderNLS.cs
- DataListCommandEventArgs.cs
- LoginCancelEventArgs.cs
- ClientConvert.cs
- DataGridViewRowPostPaintEventArgs.cs
- UserPreferenceChangedEventArgs.cs
- StorageScalarPropertyMapping.cs
- BCLDebug.cs
- TextAction.cs
- DeviceContext2.cs
- diagnosticsswitches.cs
- COAUTHINFO.cs
- HeaderCollection.cs
- TextStore.cs
- HtmlAnchor.cs
- WmlPageAdapter.cs
- TextEditorTables.cs
- XamlSerializationHelper.cs
- SimpleHandlerBuildProvider.cs
- XmlRootAttribute.cs
- MergePropertyDescriptor.cs
- Journal.cs
- BlurBitmapEffect.cs
- DeferredRunTextReference.cs
- ClonableStack.cs
- ListBoxItemAutomationPeer.cs
- DbExpressionVisitor_TResultType.cs
- DataGridViewComboBoxColumn.cs
- _AuthenticationState.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- precedingsibling.cs
- Math.cs
- ChannelBinding.cs
- OrCondition.cs
- DefaultAutoFieldGenerator.cs
- MouseWheelEventArgs.cs
- InnerItemCollectionView.cs
- ResourceLoader.cs
- SqlDelegatedTransaction.cs
- BaseCollection.cs
- WindowsFont.cs
- Highlights.cs
- WebSysDisplayNameAttribute.cs
- DesignerSerializationOptionsAttribute.cs
- CompositeActivityTypeDescriptor.cs
- DataControlFieldTypeEditor.cs
- CodeNamespaceCollection.cs
- SqlMultiplexer.cs
- AuthenticateEventArgs.cs
- AdCreatedEventArgs.cs
- GeneralTransform.cs
- TrustManagerPromptUI.cs
- StructuralType.cs
- TrustManager.cs
- X509UI.cs
- RoleManagerModule.cs
- ProxyElement.cs
- GZipStream.cs
- TimelineGroup.cs
- ToolStripDropDown.cs
- XpsFontSubsetter.cs
- DataGridViewUtilities.cs
- EventLogReader.cs
- CellTreeNodeVisitors.cs
- NavigationEventArgs.cs
- regiisutil.cs
- NonParentingControl.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- EventArgs.cs
- TextModifierScope.cs
- DetailsViewUpdateEventArgs.cs
- MD5CryptoServiceProvider.cs
- SelectionChangedEventArgs.cs
- NameValuePermission.cs
- util.cs
- CannotUnloadAppDomainException.cs
- SiteMap.cs
- SymLanguageType.cs
- XslAstAnalyzer.cs
- XamlTypeMapper.cs
- DbQueryCommandTree.cs
- TextAction.cs
- XmlWellformedWriter.cs
- PauseStoryboard.cs
- CqlParserHelpers.cs
- DisplayToken.cs
- WebUtility.cs
- ToolStripSeparatorRenderEventArgs.cs