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
- Errors.cs
- FormViewDesigner.cs
- CodeLinePragma.cs
- RenamedEventArgs.cs
- XmlValidatingReaderImpl.cs
- ToolZone.cs
- ObjectListDesigner.cs
- TemplateControlBuildProvider.cs
- ProviderConnectionPointCollection.cs
- SqlConnectionFactory.cs
- ChangePasswordAutoFormat.cs
- DataGridCommandEventArgs.cs
- EntityReference.cs
- ObjectCloneHelper.cs
- XpsSerializationException.cs
- TailCallAnalyzer.cs
- RemotingSurrogateSelector.cs
- HttpUnhandledOperationInvoker.cs
- CrossSiteScriptingValidation.cs
- ProcessHost.cs
- Translator.cs
- DataGridTextBoxColumn.cs
- GridViewEditEventArgs.cs
- NavigatorOutput.cs
- LinqDataSourceUpdateEventArgs.cs
- DetailsViewRow.cs
- BlockUIContainer.cs
- _LoggingObject.cs
- SqlDataReaderSmi.cs
- HtmlInputText.cs
- ParagraphVisual.cs
- _NTAuthentication.cs
- TextCompositionEventArgs.cs
- EdmFunction.cs
- ExpressionConverter.cs
- Semaphore.cs
- ManifestBasedResourceGroveler.cs
- SQLMembershipProvider.cs
- SoapExtension.cs
- xmlformatgeneratorstatics.cs
- EntitySetBaseCollection.cs
- Pkcs9Attribute.cs
- XmlEntity.cs
- DifferencingCollection.cs
- FtpCachePolicyElement.cs
- Padding.cs
- SendMailErrorEventArgs.cs
- SafeBitVector32.cs
- HashAlgorithm.cs
- OraclePermissionAttribute.cs
- ClaimComparer.cs
- WindowsRichEditRange.cs
- SafeNativeMethods.cs
- _SecureChannel.cs
- InputScopeManager.cs
- FeatureAttribute.cs
- ColumnClickEvent.cs
- SiteMapDataSourceDesigner.cs
- FileAuthorizationModule.cs
- WebServiceParameterData.cs
- LayoutManager.cs
- HttpSessionStateWrapper.cs
- ConnectionsZoneAutoFormat.cs
- EnumBuilder.cs
- CommandValueSerializer.cs
- PeerContact.cs
- SemanticBasicElement.cs
- CodeDomConfigurationHandler.cs
- SerializationUtility.cs
- AddInContractAttribute.cs
- DynamicMetaObjectBinder.cs
- ReadOnlyTernaryTree.cs
- SqlXmlStorage.cs
- safex509handles.cs
- Polygon.cs
- GlyphRunDrawing.cs
- CharConverter.cs
- PathFigure.cs
- WsrmTraceRecord.cs
- Stack.cs
- DataServiceHostFactory.cs
- SerializationException.cs
- X509ChainPolicy.cs
- HtmlContainerControl.cs
- ErrorsHelper.cs
- EndpointAddressAugust2004.cs
- MultiSelector.cs
- AppDomain.cs
- DataGridTemplateColumn.cs
- ComponentGlyph.cs
- HtmlTextArea.cs
- TableStyle.cs
- HighlightComponent.cs
- ToolBarButtonClickEvent.cs
- RestHandler.cs
- WarningException.cs
- AuthenticateEventArgs.cs
- ObjectItemAttributeAssemblyLoader.cs
- TemplatedMailWebEventProvider.cs
- counter.cs