Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TreeNodeEventArgs.cs
- ListViewSortEventArgs.cs
- ClassValidator.cs
- KeyNotFoundException.cs
- TableCellCollection.cs
- Emitter.cs
- EditorPartCollection.cs
- UrlUtility.cs
- Serializer.cs
- ElementAction.cs
- TemplatedControlDesigner.cs
- NativeMethods.cs
- OleDbRowUpdatingEvent.cs
- CalendarAutomationPeer.cs
- QuadraticBezierSegment.cs
- ValidationPropertyAttribute.cs
- XmlnsCache.cs
- TextServicesHost.cs
- XPathEmptyIterator.cs
- NameTable.cs
- BitmapSource.cs
- Tablet.cs
- TextBoxView.cs
- StorageEntityContainerMapping.cs
- WebSysDefaultValueAttribute.cs
- Token.cs
- AbstractSvcMapFileLoader.cs
- CachedCompositeFamily.cs
- XmlDataSourceView.cs
- WebBrowserDocumentCompletedEventHandler.cs
- MetadataCache.cs
- TextServicesLoader.cs
- RotateTransform3D.cs
- EventTrigger.cs
- RequestQueryParser.cs
- ToolStripOverflow.cs
- DataServiceProviderMethods.cs
- DefaultCommandExtensionCallback.cs
- PolyQuadraticBezierSegment.cs
- DBConcurrencyException.cs
- PreloadedPackages.cs
- BindableAttribute.cs
- _CommandStream.cs
- ProviderCollection.cs
- Type.cs
- HotSpot.cs
- HtmlGenericControl.cs
- HttpListenerResponse.cs
- TextStore.cs
- RandomDelaySendsAsyncResult.cs
- InputReferenceExpression.cs
- DoubleConverter.cs
- DetailsViewRowCollection.cs
- CategoryGridEntry.cs
- DirectoryNotFoundException.cs
- DeferredTextReference.cs
- AjaxFrameworkAssemblyAttribute.cs
- AsymmetricAlgorithm.cs
- SamlAssertion.cs
- NamespaceDecl.cs
- SQLBinaryStorage.cs
- XPathSelectionIterator.cs
- CodeLabeledStatement.cs
- DebugInfo.cs
- PermissionSet.cs
- RequestUriProcessor.cs
- View.cs
- TextFormattingConverter.cs
- UpDownBase.cs
- LogConverter.cs
- DataSvcMapFileSerializer.cs
- RegisteredHiddenField.cs
- OperandQuery.cs
- PointCollection.cs
- PreservationFileReader.cs
- xmlsaver.cs
- mda.cs
- WmlTextBoxAdapter.cs
- CqlIdentifiers.cs
- DocumentXPathNavigator.cs
- DoWorkEventArgs.cs
- SchemaTableColumn.cs
- SchemaCollectionPreprocessor.cs
- HtmlHistory.cs
- ReferentialConstraint.cs
- QuestionEventArgs.cs
- SolidColorBrush.cs
- WorkflowOwnershipException.cs
- EntityDataSourceContainerNameItem.cs
- InternalControlCollection.cs
- UrlMappingCollection.cs
- WebPartConnectionsConnectVerb.cs
- CommandLineParser.cs
- ShimAsPublicXamlType.cs
- ExpressionPrinter.cs
- WorkflowInstanceAbortedRecord.cs
- dataprotectionpermission.cs
- GeometryGroup.cs
- HttpHostedTransportConfiguration.cs
- _HeaderInfo.cs