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
- XamlReaderHelper.cs
- NamespaceEmitter.cs
- RelatedImageListAttribute.cs
- InstallerTypeAttribute.cs
- BindingContext.cs
- ColumnPropertiesGroup.cs
- DurableMessageDispatchInspector.cs
- x509store.cs
- _IPv6Address.cs
- EdmError.cs
- InvalidOleVariantTypeException.cs
- IPHostEntry.cs
- DiagnosticSection.cs
- ParameterBuilder.cs
- RtfControlWordInfo.cs
- TableParaClient.cs
- BooleanFunctions.cs
- IgnoreSectionHandler.cs
- Mapping.cs
- StateInitializationDesigner.cs
- RawAppCommandInputReport.cs
- TypeGeneratedEventArgs.cs
- BinaryFormatterWriter.cs
- DuplicateDetector.cs
- TrackingQueryElement.cs
- PrincipalPermission.cs
- CLRBindingWorker.cs
- MenuTracker.cs
- SourceLocationProvider.cs
- ErrorCodes.cs
- TypeRestriction.cs
- FileDataSourceCache.cs
- PagedDataSource.cs
- RotateTransform.cs
- ExpressionBindingCollection.cs
- CacheEntry.cs
- DrawToolTipEventArgs.cs
- IndexerNameAttribute.cs
- HttpCachePolicyBase.cs
- FullTextState.cs
- _NestedMultipleAsyncResult.cs
- VoiceObjectToken.cs
- ExpressionEvaluator.cs
- configsystem.cs
- XmlAutoDetectWriter.cs
- IgnoreSection.cs
- EnumBuilder.cs
- GraphicsContext.cs
- VersionedStream.cs
- ConcurrentBag.cs
- AnnotationHighlightLayer.cs
- COM2Enum.cs
- EdgeModeValidation.cs
- DataGridViewRowCancelEventArgs.cs
- TypeForwardedToAttribute.cs
- BaseParagraph.cs
- UnsafeNativeMethods.cs
- DateTimeFormatInfo.cs
- AdornerHitTestResult.cs
- Stroke2.cs
- AppDomainManager.cs
- RightsManagementPermission.cs
- HexParser.cs
- StreamInfo.cs
- TrackingProfileDeserializationException.cs
- DataSourceProvider.cs
- WebPartTransformerAttribute.cs
- TextSelectionProcessor.cs
- LateBoundChannelParameterCollection.cs
- Header.cs
- StringReader.cs
- PolicyManager.cs
- ColorAnimationUsingKeyFrames.cs
- ContentPlaceHolder.cs
- PropertyStore.cs
- ComplexLine.cs
- DictionaryManager.cs
- RTLAwareMessageBox.cs
- Suspend.cs
- XPathEmptyIterator.cs
- HtmlUtf8RawTextWriter.cs
- PickBranchDesigner.xaml.cs
- GroupDescription.cs
- SimpleType.cs
- FontNamesConverter.cs
- WindowsGraphicsWrapper.cs
- ColumnPropertiesGroup.cs
- HttpInputStream.cs
- PrimaryKeyTypeConverter.cs
- AnnotationDocumentPaginator.cs
- Scene3D.cs
- PageAdapter.cs
- CompositionAdorner.cs
- SslStream.cs
- FontDifferentiator.cs
- VectorAnimationUsingKeyFrames.cs
- _AutoWebProxyScriptWrapper.cs
- ReaderWriterLockWrapper.cs
- QueryMath.cs
- AmbientLight.cs