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
- ComponentEvent.cs
- Guid.cs
- WindowsAuthenticationEventArgs.cs
- SchemaCollectionCompiler.cs
- CustomCredentialPolicy.cs
- UrlMappingsModule.cs
- Hyperlink.cs
- SoapSchemaImporter.cs
- DataBindEngine.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- SolidColorBrush.cs
- FillRuleValidation.cs
- PersonalizationProviderHelper.cs
- EventToken.cs
- EmptyElement.cs
- Int32.cs
- RtfToXamlReader.cs
- SiteMapNodeItem.cs
- MemberDescriptor.cs
- DriveInfo.cs
- DetailsViewInsertEventArgs.cs
- DllNotFoundException.cs
- ToolboxDataAttribute.cs
- PathSegment.cs
- EntryPointNotFoundException.cs
- COM2TypeInfoProcessor.cs
- ConditionalAttribute.cs
- PermissionListSet.cs
- CqlParser.cs
- CancellationHandler.cs
- CacheAxisQuery.cs
- FullTextLine.cs
- RecipientInfo.cs
- Dictionary.cs
- ComplexBindingPropertiesAttribute.cs
- SessionParameter.cs
- DragDropHelper.cs
- SqlMethodAttribute.cs
- SendMailErrorEventArgs.cs
- CorrelationTokenInvalidatedHandler.cs
- WebPart.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- Viewport3DVisual.cs
- RelationshipNavigation.cs
- FixedSOMContainer.cs
- SingleTagSectionHandler.cs
- EventDescriptor.cs
- StringDictionary.cs
- RIPEMD160Managed.cs
- InvalidFilterCriteriaException.cs
- WinEventHandler.cs
- Stack.cs
- Parser.cs
- PropertyValidationContext.cs
- Config.cs
- SmtpClient.cs
- CharAnimationBase.cs
- DataControlFieldCell.cs
- StreamInfo.cs
- SmuggledIUnknown.cs
- SqlGatherConsumedAliases.cs
- Rect.cs
- SoapIgnoreAttribute.cs
- XmlMembersMapping.cs
- WindowExtensionMethods.cs
- ConfigurationLockCollection.cs
- IriParsingElement.cs
- AnnotationHighlightLayer.cs
- IPipelineRuntime.cs
- ListViewItem.cs
- IconHelper.cs
- RegexFCD.cs
- OdbcParameter.cs
- CustomAttributeFormatException.cs
- OwnerDrawPropertyBag.cs
- Assembly.cs
- TagPrefixCollection.cs
- WebServiceMethodData.cs
- NullableConverter.cs
- RecognitionEventArgs.cs
- JsonFormatWriterGenerator.cs
- Size.cs
- HttpStreamXmlDictionaryWriter.cs
- DataBindingCollection.cs
- SizeLimitedCache.cs
- EpmSyndicationContentSerializer.cs
- DeclarativeExpressionConditionDeclaration.cs
- WebPartUserCapability.cs
- ExpressionBinding.cs
- DataMisalignedException.cs
- WithStatement.cs
- IsolatedStoragePermission.cs
- AttributeCollection.cs
- HttpHandlersSection.cs
- DataGridViewColumnCollection.cs
- CompiledELinqQueryState.cs
- CodeSnippetExpression.cs
- Globals.cs
- SizeAnimation.cs
- SafeRightsManagementQueryHandle.cs