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
- RectangleHotSpot.cs
- SafeArrayRankMismatchException.cs
- Sql8ConformanceChecker.cs
- complextypematerializer.cs
- SecuritySessionFilter.cs
- EventHandlerList.cs
- RootProjectionNode.cs
- StringAnimationBase.cs
- ContentPresenter.cs
- FormViewUpdatedEventArgs.cs
- ButtonBase.cs
- Knowncolors.cs
- TextPattern.cs
- FigureHelper.cs
- COMException.cs
- SamlSecurityToken.cs
- Debug.cs
- MasterPageParser.cs
- AlternationConverter.cs
- WinEventHandler.cs
- SimpleHandlerFactory.cs
- BulletChrome.cs
- SortQuery.cs
- EntitySqlQueryState.cs
- BindingManagerDataErrorEventArgs.cs
- FontDifferentiator.cs
- XslCompiledTransform.cs
- Graphics.cs
- WebProxyScriptElement.cs
- IPPacketInformation.cs
- BlurBitmapEffect.cs
- DeleteMemberBinder.cs
- UnsafeNativeMethods.cs
- DependencyObjectProvider.cs
- httpserverutility.cs
- newinstructionaction.cs
- WindowsListViewScroll.cs
- UIPermission.cs
- PlanCompiler.cs
- DateTimeFormatInfoScanner.cs
- SimpleWorkerRequest.cs
- ClientTargetSection.cs
- DesignerVerbCollection.cs
- HtmlElementEventArgs.cs
- SchemaImporter.cs
- MachineKeySection.cs
- ObjectPropertyMapping.cs
- BlurEffect.cs
- DictionaryContent.cs
- DataKeyCollection.cs
- DNS.cs
- TypeSource.cs
- FileSystemWatcher.cs
- ReferentialConstraint.cs
- WindowsListViewSubItem.cs
- CacheAxisQuery.cs
- OleDbSchemaGuid.cs
- PublishLicense.cs
- ConfigurationLocation.cs
- UrlMapping.cs
- ScopelessEnumAttribute.cs
- UnsafeMethods.cs
- webproxy.cs
- WebPartTransformerCollection.cs
- SecurityElement.cs
- StylusDevice.cs
- EmptyStringExpandableObjectConverter.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- UITypeEditor.cs
- RegisteredExpandoAttribute.cs
- ConnectionPointCookie.cs
- SecurityHelper.cs
- ZipArchive.cs
- XmlSchemaComplexContentExtension.cs
- ContentFileHelper.cs
- RangeBase.cs
- ImmutablePropertyDescriptorGridEntry.cs
- SerializationTrace.cs
- FilterUserControlBase.cs
- ToolStripProgressBar.cs
- WebServiceData.cs
- CompositeActivityCodeGenerator.cs
- EntityObject.cs
- XmlLanguageConverter.cs
- TreeNodeStyleCollection.cs
- Image.cs
- LinkedResource.cs
- Animatable.cs
- HttpRequestCacheValidator.cs
- SafeNativeMethods.cs
- PoisonMessageException.cs
- StoreItemCollection.Loader.cs
- MachinePropertyVariants.cs
- ConsoleCancelEventArgs.cs
- ProxyWebPartConnectionCollection.cs
- OutputCacheSection.cs
- WasHttpModulesInstallComponent.cs
- SiteMapNode.cs
- safelink.cs
- _HelperAsyncResults.cs