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
- PackageRelationshipSelector.cs
- COM2ColorConverter.cs
- CodeRegionDirective.cs
- RequiredFieldValidator.cs
- ImageIndexConverter.cs
- PermissionAttributes.cs
- SplitterPanel.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- DataGridViewRowCancelEventArgs.cs
- OutputCacheProfile.cs
- StrokeFIndices.cs
- ContainerFilterService.cs
- OLEDB_Util.cs
- BoundPropertyEntry.cs
- SocketAddress.cs
- StringSource.cs
- StrokeCollectionConverter.cs
- WebPartEditVerb.cs
- PropertyEmitter.cs
- CrossContextChannel.cs
- HealthMonitoringSectionHelper.cs
- DataGridViewTextBoxEditingControl.cs
- HostingEnvironmentWrapper.cs
- ValueTypeFixupInfo.cs
- Rule.cs
- TextServicesLoader.cs
- WmfPlaceableFileHeader.cs
- SoapTypeAttribute.cs
- XmlSchemaChoice.cs
- EventLogPermission.cs
- MasterPageBuildProvider.cs
- COM2ComponentEditor.cs
- VoiceSynthesis.cs
- DeflateInput.cs
- VScrollProperties.cs
- activationcontext.cs
- BufferModesCollection.cs
- ImageKeyConverter.cs
- MailWriter.cs
- PerformanceCounterManager.cs
- ToolStripPanelCell.cs
- EndpointBehaviorElement.cs
- WebServiceEnumData.cs
- MobileComponentEditorPage.cs
- RewritingProcessor.cs
- ActivityCodeDomSerializer.cs
- AssemblyInfo.cs
- MatrixValueSerializer.cs
- FlatButtonAppearance.cs
- DropDownButton.cs
- ProxyHelper.cs
- FreezableCollection.cs
- ApplicationServiceHelper.cs
- ToolBar.cs
- XmlDataFileEditor.cs
- filewebrequest.cs
- WebServiceClientProxyGenerator.cs
- XmlLinkedNode.cs
- FileChangesMonitor.cs
- ExceptionWrapper.cs
- MasterPage.cs
- FormViewCommandEventArgs.cs
- MessageHeaderInfoTraceRecord.cs
- HashRepartitionEnumerator.cs
- FormView.cs
- BinHexEncoding.cs
- MonikerProxyAttribute.cs
- ClientSettingsSection.cs
- ElementProxy.cs
- ModuleElement.cs
- _Semaphore.cs
- SimpleBitVector32.cs
- ObjectDataProvider.cs
- PartialArray.cs
- CacheEntry.cs
- ReadOnlyCollection.cs
- LineSegment.cs
- Comparer.cs
- AsymmetricSignatureDeformatter.cs
- ExpressionBindingCollection.cs
- CodeSnippetCompileUnit.cs
- CustomActivityDesigner.cs
- UInt64Converter.cs
- relpropertyhelper.cs
- WindowsStartMenu.cs
- _Win32.cs
- DefaultWorkflowLoaderService.cs
- HandlerFactoryCache.cs
- TaskFormBase.cs
- CategoryList.cs
- ItemCollection.cs
- PopupRoot.cs
- DbgCompiler.cs
- SessionState.cs
- CheckBoxDesigner.cs
- ChildrenQuery.cs
- ParameterCollection.cs
- DefaultMemberAttribute.cs
- FreezableCollection.cs
- DataObjectCopyingEventArgs.cs