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
- HashCodeCombiner.cs
- DispatcherSynchronizationContext.cs
- AttachedPropertiesService.cs
- NetSectionGroup.cs
- ScriptIgnoreAttribute.cs
- PageThemeCodeDomTreeGenerator.cs
- RegistryDataKey.cs
- ListMarkerLine.cs
- ItemCheckedEvent.cs
- columnmapkeybuilder.cs
- ObjectPropertyMapping.cs
- DbDeleteCommandTree.cs
- SchemaEntity.cs
- SvcMapFile.cs
- FontConverter.cs
- KeyBinding.cs
- IriParsingElement.cs
- XPathNodeInfoAtom.cs
- RegexStringValidatorAttribute.cs
- Int32RectValueSerializer.cs
- EntryIndex.cs
- RegistrySecurity.cs
- LongValidator.cs
- MetadataUtilsSmi.cs
- ExpressionVisitor.cs
- ConstructorNeedsTagAttribute.cs
- SynchronizedPool.cs
- MultipleViewPatternIdentifiers.cs
- SiteMapSection.cs
- ResourceManager.cs
- ChannelBinding.cs
- OleDbConnectionInternal.cs
- LinqDataSourceSelectEventArgs.cs
- Win32SafeHandles.cs
- DataTableReader.cs
- LinqDataSourceView.cs
- NetDataContractSerializer.cs
- BitmapPalettes.cs
- CompositionAdorner.cs
- RuntimeHelpers.cs
- srgsitem.cs
- GridViewActionList.cs
- UrlPropertyAttribute.cs
- StringPropertyBuilder.cs
- ScriptControl.cs
- WindowsFormsHostPropertyMap.cs
- StructuralType.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- ApplicationException.cs
- Int16Converter.cs
- PagesChangedEventArgs.cs
- HttpWebRequestElement.cs
- GlobalizationAssembly.cs
- ClosableStream.cs
- SurrogateSelector.cs
- PassportPrincipal.cs
- EnterpriseServicesHelper.cs
- TrustSection.cs
- SelectionUIService.cs
- IssuedTokenServiceCredential.cs
- DBSchemaTable.cs
- TextProperties.cs
- ContentValidator.cs
- PackageFilter.cs
- Configuration.cs
- XmlQueryContext.cs
- DecoderReplacementFallback.cs
- ScriptManagerProxy.cs
- ImpersonateTokenRef.cs
- MenuItemStyle.cs
- ApplicationTrust.cs
- ListSortDescription.cs
- PasswordBoxAutomationPeer.cs
- PagePropertiesChangingEventArgs.cs
- ReferencedAssembly.cs
- SequentialUshortCollection.cs
- IndentedWriter.cs
- RightsManagementProvider.cs
- ClientRolePrincipal.cs
- ThreadAbortException.cs
- MobileContainerDesigner.cs
- NativeMethods.cs
- JsonQNameDataContract.cs
- SQLInt16.cs
- TableCell.cs
- ListViewContainer.cs
- UDPClient.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- HttpCachePolicyElement.cs
- InputLangChangeRequestEvent.cs
- WindowsEditBox.cs
- Rect.cs
- DetailsViewPagerRow.cs
- VectorValueSerializer.cs
- Focus.cs
- OracleInternalConnection.cs
- Char.cs
- TimeSpanValidatorAttribute.cs
- TypeBuilderInstantiation.cs
- KeyInfo.cs