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
- ListDataBindEventArgs.cs
- PathNode.cs
- TextServicesHost.cs
- XmlSchemaAny.cs
- Misc.cs
- XmlWriterDelegator.cs
- Filter.cs
- PeekCompletedEventArgs.cs
- WmlFormAdapter.cs
- LocatorBase.cs
- ToolStripDropTargetManager.cs
- BamlResourceDeserializer.cs
- KeyEvent.cs
- AssemblyCache.cs
- SendMessageRecord.cs
- SHA256Managed.cs
- ListViewEditEventArgs.cs
- GenericXmlSecurityToken.cs
- CodeCatchClause.cs
- XPathNodeHelper.cs
- RealProxy.cs
- SimpleHandlerFactory.cs
- Selection.cs
- WsatRegistrationHeader.cs
- TextTreeRootTextBlock.cs
- SubpageParagraph.cs
- IntegerFacetDescriptionElement.cs
- ClaimSet.cs
- DictionaryBase.cs
- Constraint.cs
- StructuralType.cs
- ExpressionConverter.cs
- DataSourceNameHandler.cs
- QuadraticBezierSegment.cs
- Exceptions.cs
- ConfigsHelper.cs
- WmlPanelAdapter.cs
- OverflowException.cs
- DesigntimeLicenseContext.cs
- PropertyGridView.cs
- OrderPreservingPipeliningSpoolingTask.cs
- SystemNetHelpers.cs
- HtmlPanelAdapter.cs
- GridViewRowPresenterBase.cs
- UpWmlMobileTextWriter.cs
- OleStrCAMarshaler.cs
- DataSourceProvider.cs
- FamilyCollection.cs
- LocatorGroup.cs
- ConstructorNeedsTagAttribute.cs
- Paragraph.cs
- WindowShowOrOpenTracker.cs
- ExpressionUtilities.cs
- ConnectionStringSettingsCollection.cs
- MailSettingsSection.cs
- DataColumnPropertyDescriptor.cs
- DataGridViewSortCompareEventArgs.cs
- PlatformCulture.cs
- DES.cs
- HttpApplication.cs
- ContextInformation.cs
- XmlSchemaComplexType.cs
- MD5CryptoServiceProvider.cs
- LabelTarget.cs
- Solver.cs
- OpCellTreeNode.cs
- DialogDivider.cs
- Property.cs
- SecurityKeyType.cs
- VBCodeProvider.cs
- XmlQueryRuntime.cs
- ReadOnlyHierarchicalDataSource.cs
- HuffmanTree.cs
- WindowsMenu.cs
- EventInfo.cs
- ShadowGlyph.cs
- StateDesigner.cs
- HostProtectionPermission.cs
- SiteMap.cs
- DataTableTypeConverter.cs
- SubstitutionResponseElement.cs
- BuilderElements.cs
- ISessionStateStore.cs
- BinaryKeyIdentifierClause.cs
- MessageUtil.cs
- ConfigurationManagerInternalFactory.cs
- BindingListCollectionView.cs
- dbenumerator.cs
- Label.cs
- StringExpressionSet.cs
- TryCatchDesigner.xaml.cs
- SqlDependency.cs
- MessageBox.cs
- MultiBinding.cs
- CacheMode.cs
- HttpRequestTraceRecord.cs
- GenericsInstances.cs
- SspiNegotiationTokenProviderState.cs
- EntityTypeEmitter.cs
- TextTreeTextBlock.cs