Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / EventDescriptor.cs / 1 / 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); } }/// 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
- RawStylusInputCustomDataList.cs
- UnsafeNativeMethods.cs
- XmlnsPrefixAttribute.cs
- CompiledIdentityConstraint.cs
- StyleConverter.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- WebPartDisplayMode.cs
- OrderToken.cs
- DuplicateWaitObjectException.cs
- Model3DCollection.cs
- BitmapInitialize.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ByteAnimationUsingKeyFrames.cs
- BindableAttribute.cs
- PropertyManager.cs
- QilScopedVisitor.cs
- IConvertible.cs
- ToolStripContentPanel.cs
- ErrorFormatterPage.cs
- MexTcpBindingCollectionElement.cs
- CodeConditionStatement.cs
- AtomMaterializer.cs
- translator.cs
- KeyValueConfigurationCollection.cs
- TextRangeBase.cs
- NodeFunctions.cs
- PropertyEntry.cs
- MenuItemStyle.cs
- SharedPersonalizationStateInfo.cs
- Attributes.cs
- SignatureDescription.cs
- XsltFunctions.cs
- SoapIncludeAttribute.cs
- UIElementHelper.cs
- OpenTypeLayout.cs
- EllipseGeometry.cs
- OledbConnectionStringbuilder.cs
- PeerObject.cs
- PageSettings.cs
- PageAsyncTaskManager.cs
- ErrorCodes.cs
- StoreAnnotationsMap.cs
- AuthenticationModuleElementCollection.cs
- GAC.cs
- ActiveXContainer.cs
- invalidudtexception.cs
- ToolStripItemCollection.cs
- FormatConvertedBitmap.cs
- MonthChangedEventArgs.cs
- DetailsViewInsertedEventArgs.cs
- CollectionChangeEventArgs.cs
- DesignerActionUIService.cs
- PropertyConverter.cs
- ScrollItemPatternIdentifiers.cs
- TempEnvironment.cs
- FontNamesConverter.cs
- CryptoApi.cs
- IdleTimeoutMonitor.cs
- Vector3DCollection.cs
- TableRow.cs
- UIElementParagraph.cs
- DbProviderServices.cs
- GCHandleCookieTable.cs
- IdentifierCollection.cs
- KeyPullup.cs
- XamlSerializer.cs
- ToolboxSnapDragDropEventArgs.cs
- ScriptResourceAttribute.cs
- MachinePropertyVariants.cs
- PropertyEntry.cs
- SiteMapNodeCollection.cs
- ControlSerializer.cs
- ActivityDesigner.cs
- TabItemAutomationPeer.cs
- ContextQuery.cs
- AssemblyInfo.cs
- MD5.cs
- RuntimeArgumentHandle.cs
- WebBrowserPermission.cs
- XhtmlBasicPhoneCallAdapter.cs
- KnownIds.cs
- BitmapCodecInfoInternal.cs
- Drawing.cs
- OracleSqlParser.cs
- BinaryConverter.cs
- XmlSchemaComplexContentRestriction.cs
- TypeElement.cs
- StaticExtensionConverter.cs
- FormatterServices.cs
- ComplusEndpointConfigContainer.cs
- BooleanAnimationBase.cs
- XmlNavigatorFilter.cs
- CollectionChangedEventManager.cs
- WindowCollection.cs
- WindowsFormsHostAutomationPeer.cs
- Subtree.cs
- DesignSurface.cs
- HttpListenerContext.cs
- SymbolMethod.cs
- assertwrapper.cs