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
- BStrWrapper.cs
- TdsParserSafeHandles.cs
- InplaceBitmapMetadataWriter.cs
- VarRefManager.cs
- ErasingStroke.cs
- RequestCachePolicy.cs
- Buffer.cs
- ApplicationHost.cs
- StylusPointPropertyId.cs
- SimpleWebHandlerParser.cs
- Knowncolors.cs
- AmbientProperties.cs
- FileDataSource.cs
- TemplatePartAttribute.cs
- AutomationProperties.cs
- WindowsFormsLinkLabel.cs
- SchemaElement.cs
- ObjectDataSourceEventArgs.cs
- CalendarButtonAutomationPeer.cs
- Rotation3DAnimationBase.cs
- HttpException.cs
- Utils.cs
- DataGridViewRowPostPaintEventArgs.cs
- SyndicationFeed.cs
- NumberFormatter.cs
- BehaviorEditorPart.cs
- PageThemeBuildProvider.cs
- DocumentViewerBaseAutomationPeer.cs
- ContextBase.cs
- HeaderUtility.cs
- XmlElementList.cs
- PerspectiveCamera.cs
- Odbc32.cs
- EmbeddedMailObject.cs
- PopOutPanel.cs
- XmlSchemaSequence.cs
- ConfigXmlText.cs
- HideDisabledControlAdapter.cs
- DbMetaDataCollectionNames.cs
- GestureRecognizer.cs
- QilTargetType.cs
- PackagePart.cs
- SamlDoNotCacheCondition.cs
- GeometryCombineModeValidation.cs
- TrackingLocationCollection.cs
- ThaiBuddhistCalendar.cs
- FtpWebRequest.cs
- MessageBox.cs
- XmlSchemaType.cs
- PartManifestEntry.cs
- FileAuthorizationModule.cs
- WsatConfiguration.cs
- SymbolTable.cs
- ZipIOModeEnforcingStream.cs
- CompleteWizardStep.cs
- XmlSubtreeReader.cs
- WindowsSolidBrush.cs
- PathFigure.cs
- ArrayWithOffset.cs
- CharEntityEncoderFallback.cs
- NameTable.cs
- SingletonChannelAcceptor.cs
- CalculatedColumn.cs
- RegexBoyerMoore.cs
- FlowDocumentReaderAutomationPeer.cs
- FileDialogPermission.cs
- StrongNameMembershipCondition.cs
- PostBackTrigger.cs
- PersonalizationDictionary.cs
- HexParser.cs
- BitConverter.cs
- CrossAppDomainChannel.cs
- SafeHGlobalHandleCritical.cs
- _NestedSingleAsyncResult.cs
- IxmlLineInfo.cs
- TypedElement.cs
- UnsafeNativeMethodsMilCoreApi.cs
- LiteralControl.cs
- PrintEvent.cs
- DBNull.cs
- PersonalizationProviderCollection.cs
- precedingquery.cs
- ColorEditor.cs
- CreateUserWizardStep.cs
- TemplateBindingExtension.cs
- odbcmetadatacolumnnames.cs
- CommandEventArgs.cs
- ToolStripDropDownClosingEventArgs.cs
- DbParameterHelper.cs
- RepeatBehaviorConverter.cs
- PasswordBoxAutomationPeer.cs
- HttpListenerPrefixCollection.cs
- UriSection.cs
- TransactionManager.cs
- DataTrigger.cs
- ResXFileRef.cs
- FrameworkTemplate.cs
- ConfigurationCollectionAttribute.cs
- TextEditor.cs
- Roles.cs