Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / EventDescriptor.cs / 1305376 / 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); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// 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
- DataBinder.cs
- BigInt.cs
- X509Certificate2.cs
- OleDbTransaction.cs
- DynamicPropertyReader.cs
- SessionSwitchEventArgs.cs
- MemberRelationshipService.cs
- recordstatescratchpad.cs
- Emitter.cs
- Debug.cs
- WebPartManagerInternals.cs
- HtmlElementErrorEventArgs.cs
- LongValidatorAttribute.cs
- WhereQueryOperator.cs
- ElementHost.cs
- PreparingEnlistment.cs
- LeaseManager.cs
- DataRelation.cs
- VisualTarget.cs
- MouseButton.cs
- ThreadExceptionDialog.cs
- XmlProcessingInstruction.cs
- CodeGeneratorOptions.cs
- ToolZone.cs
- Column.cs
- Mapping.cs
- ImageListImage.cs
- CompositeScriptReferenceEventArgs.cs
- MatrixTransform.cs
- WindowsFont.cs
- InvalidCommandTreeException.cs
- AppSettingsExpressionBuilder.cs
- _NetworkingPerfCounters.cs
- StringExpressionSet.cs
- AvTrace.cs
- ActivityBindForm.cs
- ToolStripSplitButton.cs
- OdbcInfoMessageEvent.cs
- VersionedStream.cs
- ServiceEndpointCollection.cs
- PartialClassGenerationTaskInternal.cs
- FieldNameLookup.cs
- DetailsViewActionList.cs
- AnnotationComponentChooser.cs
- HtmlTableRow.cs
- SynchronizationContext.cs
- PinnedBufferMemoryStream.cs
- DataServiceRequestException.cs
- SamlNameIdentifierClaimResource.cs
- MultipleViewProviderWrapper.cs
- SQLBinary.cs
- ContainerSelectorActiveEvent.cs
- Propagator.ExtentPlaceholderCreator.cs
- VirtualDirectoryMapping.cs
- OleDbFactory.cs
- SHA384.cs
- XslCompiledTransform.cs
- MoveSizeWinEventHandler.cs
- RenderData.cs
- FormViewUpdateEventArgs.cs
- ProjectionPath.cs
- QueryCacheEntry.cs
- BindingMemberInfo.cs
- OdbcEnvironment.cs
- ReferenceConverter.cs
- XamlSerializerUtil.cs
- TextOutput.cs
- DependencyPropertyConverter.cs
- DocumentPageView.cs
- SiteMapDataSourceView.cs
- AssemblyBuilder.cs
- ForceCopyBuildProvider.cs
- KeysConverter.cs
- ObjectReaderCompiler.cs
- AstTree.cs
- ObjectItemLoadingSessionData.cs
- PeerNodeTraceRecord.cs
- XmlCodeExporter.cs
- XmlDomTextWriter.cs
- TypeBrowserDialog.cs
- HtmlElementEventArgs.cs
- ClrPerspective.cs
- Emitter.cs
- ClientProxyGenerator.cs
- HttpHandlerAction.cs
- ByteStreamMessageEncoderFactory.cs
- MimeTypePropertyAttribute.cs
- PlainXmlDeserializer.cs
- BamlLocalizableResourceKey.cs
- NGCSerializationManager.cs
- webbrowsersite.cs
- AssociatedControlConverter.cs
- _ConnectionGroup.cs
- UserControlAutomationPeer.cs
- RuleSettingsCollection.cs
- OleDbConnectionInternal.cs
- ProfilePropertySettingsCollection.cs
- LogAppendAsyncResult.cs
- StylusPointDescription.cs
- MenuItemCollection.cs