Code:
/ FX-1434 / FX-1434 / 1.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
- ExpandCollapsePattern.cs
- WSHttpBinding.cs
- SequentialActivityDesigner.cs
- HttpConfigurationSystem.cs
- LingerOption.cs
- UnsafeNetInfoNativeMethods.cs
- ControlCachePolicy.cs
- CounterCreationDataConverter.cs
- Lease.cs
- ContentIterators.cs
- XmlLinkedNode.cs
- ContentElementAutomationPeer.cs
- SqlClientFactory.cs
- MulticastOption.cs
- FileDialogCustomPlaces.cs
- InternalPermissions.cs
- BaseCodeDomTreeGenerator.cs
- UIElementAutomationPeer.cs
- QilPatternFactory.cs
- SqlProvider.cs
- DataTemplate.cs
- ExpandedWrapper.cs
- SpecialTypeDataContract.cs
- MsmqAuthenticationMode.cs
- StyleConverter.cs
- TablePattern.cs
- AsyncStreamReader.cs
- RemotingAttributes.cs
- RoleGroupCollection.cs
- ResourceProviderFactory.cs
- KeyEvent.cs
- CompositionTarget.cs
- DataSourceXmlAttributeAttribute.cs
- ToolStripSeparator.cs
- AutoResetEvent.cs
- DbConnectionFactory.cs
- GlyphsSerializer.cs
- WriteableBitmap.cs
- DbCommandDefinition.cs
- TextContainerHelper.cs
- CharUnicodeInfo.cs
- _SSPIWrapper.cs
- PackWebRequest.cs
- UnsafeNativeMethods.cs
- XmlWrappingReader.cs
- ColorInterpolationModeValidation.cs
- WebResourceAttribute.cs
- WSSecurityPolicy11.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- CharacterString.cs
- TreeNodeMouseHoverEvent.cs
- SafeIUnknown.cs
- CompilerState.cs
- TransactionManager.cs
- DocumentReference.cs
- PasswordBoxAutomationPeer.cs
- MessageBodyDescription.cs
- As.cs
- FunctionMappingTranslator.cs
- ClassDataContract.cs
- SafeArrayTypeMismatchException.cs
- Int32RectConverter.cs
- DbModificationCommandTree.cs
- IChannel.cs
- RIPEMD160.cs
- CodeTypeParameter.cs
- DataControlCommands.cs
- SoapCodeExporter.cs
- IfAction.cs
- sqlmetadatafactory.cs
- EncryptedReference.cs
- Rect.cs
- OperatingSystem.cs
- FixedNode.cs
- _TransmitFileOverlappedAsyncResult.cs
- AddIn.cs
- HttpHandlerActionCollection.cs
- ButtonFieldBase.cs
- SAPIEngineTypes.cs
- OrthographicCamera.cs
- WindowsScrollBarBits.cs
- DbConnectionPoolOptions.cs
- DataRecordInternal.cs
- InputLanguage.cs
- MemberInfoSerializationHolder.cs
- SimpleWebHandlerParser.cs
- OptimizedTemplateContentHelper.cs
- Menu.cs
- EventHandlers.cs
- GeneralTransform3DCollection.cs
- DynamicMethod.cs
- CodeBlockBuilder.cs
- BorderGapMaskConverter.cs
- SqlSelectClauseBuilder.cs
- Site.cs
- BamlLocalizableResourceKey.cs
- ImageButton.cs
- SqlGenericUtil.cs
- ArrayConverter.cs
- DetailsViewDeletedEventArgs.cs