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
- PassportAuthentication.cs
- TableProviderWrapper.cs
- DecoderFallbackWithFailureFlag.cs
- ellipse.cs
- ComponentConverter.cs
- ToolStripArrowRenderEventArgs.cs
- PointAnimationBase.cs
- StylusPointPropertyUnit.cs
- ThrowOnMultipleAssignment.cs
- SupportsEventValidationAttribute.cs
- EmbeddedMailObjectCollectionEditor.cs
- SystemIcmpV4Statistics.cs
- PlatformCulture.cs
- Line.cs
- TextRange.cs
- XmlElementCollection.cs
- SimpleHandlerFactory.cs
- AdornerDecorator.cs
- SettingsBase.cs
- XmlSchemaSequence.cs
- XhtmlConformanceSection.cs
- InternalsVisibleToAttribute.cs
- DocumentSchemaValidator.cs
- SpnEndpointIdentity.cs
- ObjectParameter.cs
- Single.cs
- RuleSettingsCollection.cs
- CertificateReferenceElement.cs
- WindowShowOrOpenTracker.cs
- Section.cs
- SqlError.cs
- TextBox.cs
- FixedSOMContainer.cs
- InputReport.cs
- CommandSet.cs
- SimpleLine.cs
- RoleExceptions.cs
- WebPartConnectionsDisconnectVerb.cs
- DesignerUtils.cs
- ArrayHelper.cs
- BroadcastEventHelper.cs
- GroupBox.cs
- VariableElement.cs
- MimeWriter.cs
- RectangleF.cs
- Root.cs
- StylusPointCollection.cs
- InlineUIContainer.cs
- JpegBitmapEncoder.cs
- Array.cs
- InvalidDocumentContentsException.cs
- cookiecontainer.cs
- PartialArray.cs
- OdbcConnectionStringbuilder.cs
- StylusEditingBehavior.cs
- PrintEvent.cs
- ResXBuildProvider.cs
- MouseActionValueSerializer.cs
- _Events.cs
- ErrorRuntimeConfig.cs
- XsdBuildProvider.cs
- Serializer.cs
- ReturnEventArgs.cs
- XamlWrappingReader.cs
- TextTreeRootTextBlock.cs
- ListSortDescriptionCollection.cs
- HtmlTitle.cs
- TabletDeviceInfo.cs
- AccessDataSourceView.cs
- MsmqBindingMonitor.cs
- AdRotator.cs
- UserUseLicenseDictionaryLoader.cs
- EntityDataSourceState.cs
- PageContentCollection.cs
- SafeSecurityHandles.cs
- ConversionContext.cs
- BinarySecretSecurityToken.cs
- UrlAuthorizationModule.cs
- StringUtil.cs
- prefixendpointaddressmessagefilter.cs
- ChtmlMobileTextWriter.cs
- DbConnectionStringBuilder.cs
- WebPartEditorApplyVerb.cs
- Win32Exception.cs
- AtomServiceDocumentSerializer.cs
- RegistryPermission.cs
- TableAutomationPeer.cs
- BatchServiceHost.cs
- CapabilitiesUse.cs
- CroppedBitmap.cs
- RuntimeCompatibilityAttribute.cs
- OneOfScalarConst.cs
- Automation.cs
- DBSqlParserTableCollection.cs
- DesignerPerfEventProvider.cs
- ValueTable.cs
- LexicalChunk.cs
- BitmapEffect.cs
- Keywords.cs
- HiddenField.cs