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
- Point3DValueSerializer.cs
- FilterEventArgs.cs
- LogSwitch.cs
- ManagedWndProcTracker.cs
- TemplatePagerField.cs
- DropDownList.cs
- OdbcTransaction.cs
- GridViewSortEventArgs.cs
- InternalRelationshipCollection.cs
- ToolStripItemTextRenderEventArgs.cs
- TextDecorationLocationValidation.cs
- Schema.cs
- HiddenField.cs
- CurrencyWrapper.cs
- OuterGlowBitmapEffect.cs
- XmlCharacterData.cs
- IndentedWriter.cs
- BinaryWriter.cs
- ClientConfigurationSystem.cs
- XmlnsDefinitionAttribute.cs
- SettingsProviderCollection.cs
- ResourceReader.cs
- Rotation3D.cs
- SecurityImpersonationBehavior.cs
- DataGridSortCommandEventArgs.cs
- RandomDelaySendsAsyncResult.cs
- TypeForwardedToAttribute.cs
- ForeignKeyConstraint.cs
- KeyManager.cs
- GradientBrush.cs
- InputMethod.cs
- XmlSignificantWhitespace.cs
- CurrencyManager.cs
- PackUriHelper.cs
- InvalidOleVariantTypeException.cs
- ToolStripTemplateNode.cs
- WebPartConnectionCollection.cs
- DataTableClearEvent.cs
- TaiwanCalendar.cs
- Publisher.cs
- StyleXamlParser.cs
- PhonemeEventArgs.cs
- xml.cs
- LostFocusEventManager.cs
- FormView.cs
- HandlerBase.cs
- SessionStateUtil.cs
- ToolStripOverflowButton.cs
- SessionState.cs
- WindowInteractionStateTracker.cs
- ScriptResourceAttribute.cs
- ReflectionPermission.cs
- hresults.cs
- BaseDataListActionList.cs
- XmlSchemaComplexContentExtension.cs
- Quaternion.cs
- RegistryKey.cs
- CharacterBufferReference.cs
- ComAdminWrapper.cs
- SafeProcessHandle.cs
- SchemaRegistration.cs
- JsonMessageEncoderFactory.cs
- WebServicesInteroperability.cs
- PageCodeDomTreeGenerator.cs
- EllipseGeometry.cs
- DataGridParentRows.cs
- Pen.cs
- WindowsFormsLinkLabel.cs
- UiaCoreProviderApi.cs
- RunClient.cs
- NonVisualControlAttribute.cs
- DocumentViewerHelper.cs
- Transform3DGroup.cs
- CellTreeNodeVisitors.cs
- EdmTypeAttribute.cs
- SchemaManager.cs
- CompatibleComparer.cs
- UshortList2.cs
- FormViewCommandEventArgs.cs
- FontWeightConverter.cs
- HwndSourceKeyboardInputSite.cs
- EntityDataSourceContainerNameConverter.cs
- EntryWrittenEventArgs.cs
- FieldTemplateFactory.cs
- StrokeRenderer.cs
- ToolStripItemImageRenderEventArgs.cs
- validationstate.cs
- ReliableChannelBinder.cs
- linebase.cs
- ExpressionWriter.cs
- SecurityPolicySection.cs
- ObjectDataSourceView.cs
- KerberosSecurityTokenAuthenticator.cs
- AuthorizationRule.cs
- XmlSchemaAnyAttribute.cs
- BamlRecords.cs
- CodeGen.cs
- SiteMapDataSourceView.cs
- CheckBoxFlatAdapter.cs
- LayoutExceptionEventArgs.cs