Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / EventDescriptor.cs / 1305376 / EventDescriptor.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel { using System; using System.Diagnostics; using System.Reflection; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] public abstract class EventDescriptor : MemberDescriptor { ////// Provides a description /// of an event. /// ////// protected EventDescriptor(string name, Attribute[] attrs) : base(name, attrs) { } ////// Initializes a new instance of the ///class with the /// specified name and attribute /// array. /// /// protected EventDescriptor(MemberDescriptor descr) : base(descr) { } ////// Initializes a new instance of the ///class with the name and attributes in /// the specified /// . /// /// protected EventDescriptor(MemberDescriptor descr, Attribute[] attrs) : base(descr, attrs) { } ////// Initializes a new instance of the ///class with /// the name in the specified and the /// attributes in both the and the /// array. /// /// public abstract Type ComponentType { get; } ////// When overridden in a derived /// class, /// gets the type of the component this event is bound to. /// ////// public abstract Type EventType { get; } ////// When overridden in a derived /// class, gets the type of delegate for the event. /// ////// public abstract bool IsMulticast { get; } ////// When overridden in a derived class, gets a value /// indicating whether the event delegate is a multicast /// delegate. /// ////// public abstract void AddEventHandler(object component, Delegate value); ////// When overridden in /// a derived class, /// binds the event to the component. /// ////// public abstract void RemoveEventHandler(object component, Delegate value); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// When /// overridden /// in a derived class, unbinds the delegate from the /// component /// so that the delegate will no /// longer receive events from the component. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BuilderPropertyEntry.cs
- MaterializeFromAtom.cs
- ForEachAction.cs
- OleDbReferenceCollection.cs
- ViewGenResults.cs
- QilStrConcatenator.cs
- AuthorizationBehavior.cs
- GridItem.cs
- Quaternion.cs
- ISAPIRuntime.cs
- WindowsMenu.cs
- SolidColorBrush.cs
- WindowHelperService.cs
- WindowsGraphicsWrapper.cs
- OleDbParameterCollection.cs
- OracleParameterBinding.cs
- _SpnDictionary.cs
- documentation.cs
- IsolatedStorageException.cs
- __Error.cs
- ServiceChannelFactory.cs
- DesignSurfaceManager.cs
- UrlPropertyAttribute.cs
- NullEntityWrapper.cs
- Interfaces.cs
- WorkflowPrinting.cs
- KnownTypesHelper.cs
- CompilationUnit.cs
- RelatedPropertyManager.cs
- NotSupportedException.cs
- PrinterUnitConvert.cs
- SoapClientProtocol.cs
- TypeSystem.cs
- RuntimeVariableList.cs
- MemberCollection.cs
- BinaryObjectReader.cs
- StorageMappingFragment.cs
- MtomMessageEncoder.cs
- JoinGraph.cs
- AppearanceEditorPart.cs
- IsolatedStoragePermission.cs
- ImageSource.cs
- DCSafeHandle.cs
- InfoCardSymmetricCrypto.cs
- MD5.cs
- PrinterSettings.cs
- ProcessStartInfo.cs
- ObsoleteAttribute.cs
- CodeParameterDeclarationExpression.cs
- Misc.cs
- CapabilitiesSection.cs
- TcpAppDomainProtocolHandler.cs
- DataGridColumnReorderingEventArgs.cs
- OracleInfoMessageEventArgs.cs
- SafeProcessHandle.cs
- DetailsViewUpdateEventArgs.cs
- ListViewTableCell.cs
- BuildProviderCollection.cs
- MostlySingletonList.cs
- SystemWebCachingSectionGroup.cs
- AutomationTextAttribute.cs
- MainMenu.cs
- ImportCatalogPart.cs
- XPathDocumentNavigator.cs
- UnconditionalPolicy.cs
- ByteStorage.cs
- GridViewRow.cs
- OdbcParameterCollection.cs
- ReadOnlyPermissionSet.cs
- DBSchemaTable.cs
- BinHexEncoder.cs
- Common.cs
- TableCell.cs
- Attributes.cs
- ping.cs
- DrawingGroup.cs
- TypeUsage.cs
- ResourcePermissionBaseEntry.cs
- EqualityArray.cs
- ConfigurationManagerHelper.cs
- SByteStorage.cs
- TextProperties.cs
- SystemResourceHost.cs
- X509CertificateCollection.cs
- InvalidAsynchronousStateException.cs
- AnnotationAdorner.cs
- SubMenuStyleCollection.cs
- DictionaryBase.cs
- IDispatchConstantAttribute.cs
- EncodingStreamWrapper.cs
- FormClosedEvent.cs
- ButtonDesigner.cs
- ToolBarButtonClickEvent.cs
- TableDesigner.cs
- Image.cs
- SqlDelegatedTransaction.cs
- PtsCache.cs
- ExpressionNode.cs
- DetailsViewModeEventArgs.cs
- XmlSchemaSimpleContent.cs