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
- SingleObjectCollection.cs
- DbException.cs
- AnyReturnReader.cs
- NumericUpDownAcceleration.cs
- PreviewPrintController.cs
- WindowsListViewItemStartMenu.cs
- Message.cs
- TableDetailsRow.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- JsonEnumDataContract.cs
- MeasureItemEvent.cs
- LinkUtilities.cs
- WebPartVerbCollection.cs
- StickyNote.cs
- ValueHandle.cs
- NotCondition.cs
- RegexCaptureCollection.cs
- CustomCategoryAttribute.cs
- TdsEnums.cs
- WindowInteractionStateTracker.cs
- XPathScanner.cs
- IndentTextWriter.cs
- __TransparentProxy.cs
- X509Utils.cs
- MetabaseServerConfig.cs
- Operators.cs
- SignatureToken.cs
- RijndaelManaged.cs
- AssertSection.cs
- HwndSource.cs
- RtfControls.cs
- StreamWriter.cs
- ConfigurationStrings.cs
- _BasicClient.cs
- AlignmentYValidation.cs
- InheritablePropertyChangeInfo.cs
- DataObjectMethodAttribute.cs
- UnsafeNativeMethods.cs
- DecimalAverageAggregationOperator.cs
- _SingleItemRequestCache.cs
- XmlSchemaAppInfo.cs
- NullRuntimeConfig.cs
- LayoutEvent.cs
- DrawingGroup.cs
- DefaultPrintController.cs
- Calendar.cs
- NamespaceCollection.cs
- XmlAttributes.cs
- TreeViewCancelEvent.cs
- AtomParser.cs
- DataGridViewComboBoxCell.cs
- ConfigXmlText.cs
- AuthenticationManager.cs
- Debugger.cs
- WebPartConnection.cs
- NamedObject.cs
- TypeConverterHelper.cs
- DynamicPropertyHolder.cs
- FileEnumerator.cs
- MILUtilities.cs
- TypeConverterHelper.cs
- DirectionalLight.cs
- ContextMarshalException.cs
- ConfigurationManagerHelper.cs
- SignatureDescription.cs
- NavigationWindowAutomationPeer.cs
- SystemTcpStatistics.cs
- WebPartMinimizeVerb.cs
- StaticSiteMapProvider.cs
- ClientData.cs
- SpellerError.cs
- FamilyMap.cs
- SQLGuid.cs
- ContentControl.cs
- ContentControl.cs
- XmlHierarchicalDataSourceView.cs
- TypeSystemProvider.cs
- XPathAncestorQuery.cs
- StylusCaptureWithinProperty.cs
- InheritanceAttribute.cs
- RegexTree.cs
- XpsInterleavingPolicy.cs
- AvTraceDetails.cs
- IndexedGlyphRun.cs
- AssertFilter.cs
- MimeXmlImporter.cs
- NavigateEvent.cs
- CodeTypeDelegate.cs
- Authorization.cs
- ConfigurationStrings.cs
- TrackingValidationObjectDictionary.cs
- IsolatedStorageException.cs
- ReturnType.cs
- SelectionBorderGlyph.cs
- SafeEventLogReadHandle.cs
- EventDescriptorCollection.cs
- StorageEntityTypeMapping.cs
- ImageListUtils.cs
- EmptyQuery.cs
- SecurityTimestamp.cs