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
- ManagedWndProcTracker.cs
- XmlChoiceIdentifierAttribute.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- AssemblyHash.cs
- SchemaNotation.cs
- TextEditorCharacters.cs
- ComponentCollection.cs
- XmlReader.cs
- UpdateDelegates.Generated.cs
- DataColumn.cs
- AttributeAction.cs
- assertwrapper.cs
- DesignerSerializationVisibilityAttribute.cs
- ConnectionManagementElement.cs
- SqlNodeTypeOperators.cs
- EdmComplexPropertyAttribute.cs
- GeometryCombineModeValidation.cs
- XslCompiledTransform.cs
- ReflectPropertyDescriptor.cs
- FontDialog.cs
- HttpModuleAction.cs
- GlobalItem.cs
- IInstanceContextProvider.cs
- FocusTracker.cs
- EUCJPEncoding.cs
- GroupBoxRenderer.cs
- DataGridTableCollection.cs
- GroupItem.cs
- XmlChildNodes.cs
- UnsafeMethods.cs
- LineUtil.cs
- RelationshipEndMember.cs
- MsmqChannelListenerBase.cs
- BindMarkupExtensionSerializer.cs
- KeyBinding.cs
- ProfileManager.cs
- nulltextnavigator.cs
- Currency.cs
- DateTimeUtil.cs
- SoapEnumAttribute.cs
- XmlValueConverter.cs
- LostFocusEventManager.cs
- SqlTypeConverter.cs
- UIElementIsland.cs
- Drawing.cs
- MessageDecoder.cs
- IntegerFacetDescriptionElement.cs
- StylusButton.cs
- SiteMapHierarchicalDataSourceView.cs
- TogglePattern.cs
- BaseValidator.cs
- FloatMinMaxAggregationOperator.cs
- RelationshipManager.cs
- RSAOAEPKeyExchangeDeformatter.cs
- LocalBuilder.cs
- WebServiceReceive.cs
- ConstraintConverter.cs
- RequestValidator.cs
- Pts.cs
- DependencyPropertyHelper.cs
- CalendarDay.cs
- Utilities.cs
- TemplatedAdorner.cs
- OdbcFactory.cs
- DefaultMemberAttribute.cs
- DataServiceProcessingPipelineEventArgs.cs
- UnmanagedMarshal.cs
- MeasureData.cs
- AnnotationStore.cs
- DBParameter.cs
- HiddenFieldPageStatePersister.cs
- ScopelessEnumAttribute.cs
- BrowserDefinitionCollection.cs
- QueryOperatorEnumerator.cs
- ReadOnlyHierarchicalDataSource.cs
- ObjectDisposedException.cs
- BaseDataList.cs
- Crc32Helper.cs
- OptimizedTemplateContent.cs
- IsolatedStorageFile.cs
- ConnectionPoint.cs
- UnsafeNativeMethods.cs
- QuaternionAnimation.cs
- SemanticAnalyzer.cs
- MsmqInputChannelListener.cs
- ColumnMapTranslator.cs
- EnumValAlphaComparer.cs
- ViewStateModeByIdAttribute.cs
- CacheSection.cs
- ModelVisual3D.cs
- HMACMD5.cs
- AuthenticateEventArgs.cs
- FilterableAttribute.cs
- HttpResponseBase.cs
- EncoderFallback.cs
- SchemaTypeEmitter.cs
- MetadataSource.cs
- SystemGatewayIPAddressInformation.cs
- ListManagerBindingsCollection.cs
- DataGridViewRowEventArgs.cs