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
- DataObjectFieldAttribute.cs
- DesignerDataSourceView.cs
- HttpStreamMessageEncoderFactory.cs
- KeyGestureConverter.cs
- PropertyOrder.cs
- HasCopySemanticsAttribute.cs
- Int32CollectionConverter.cs
- ConfigurationSectionGroupCollection.cs
- TdsParser.cs
- DataGridHyperlinkColumn.cs
- DbProviderFactories.cs
- MsmqIntegrationReceiveParameters.cs
- ClickablePoint.cs
- ImageClickEventArgs.cs
- Brushes.cs
- ClientBuildManagerCallback.cs
- XmlSchemaObject.cs
- DispatcherHookEventArgs.cs
- MediaSystem.cs
- Pen.cs
- SingleKeyFrameCollection.cs
- Sequence.cs
- MeshGeometry3D.cs
- VisualStyleRenderer.cs
- XpsFixedDocumentReaderWriter.cs
- InsufficientMemoryException.cs
- SemanticBasicElement.cs
- SiteMapDataSource.cs
- EventWaitHandleSecurity.cs
- ZipPackagePart.cs
- Table.cs
- MappedMetaModel.cs
- Cursor.cs
- ReferencedType.cs
- TypedTableBaseExtensions.cs
- RegexGroup.cs
- XmlSchemaSequence.cs
- PropertyMetadata.cs
- WindowsFormsSynchronizationContext.cs
- SizeKeyFrameCollection.cs
- SmiEventSink_DeferedProcessing.cs
- DataGridViewCellStateChangedEventArgs.cs
- IImplicitResourceProvider.cs
- ConnectionProviderAttribute.cs
- FormatSelectingMessageInspector.cs
- XmlTextAttribute.cs
- CompositeControl.cs
- WindowsFormsEditorServiceHelper.cs
- DataGridViewCellFormattingEventArgs.cs
- BufferedOutputStream.cs
- GlobalizationSection.cs
- ScriptResourceMapping.cs
- __ConsoleStream.cs
- XhtmlTextWriter.cs
- DBConnection.cs
- StrokeNodeData.cs
- RemoteDebugger.cs
- LinqDataSourceValidationException.cs
- ExceptionRoutedEventArgs.cs
- MouseGesture.cs
- GroupByExpressionRewriter.cs
- MenuItemCollection.cs
- AuthenticationServiceManager.cs
- ManagementException.cs
- AsyncOperationContext.cs
- PageThemeBuildProvider.cs
- DateTimePicker.cs
- XhtmlBasicTextBoxAdapter.cs
- TrackingLocationCollection.cs
- MergeLocalizationDirectives.cs
- UriWriter.cs
- ObjectComplexPropertyMapping.cs
- DataGridPreparingCellForEditEventArgs.cs
- ConfigXmlCDataSection.cs
- Constraint.cs
- JsonFormatMapping.cs
- Pointer.cs
- ConnectionPointCookie.cs
- ListComponentEditor.cs
- PeerNameResolver.cs
- ExecutionContext.cs
- ZoneIdentityPermission.cs
- DetailsViewPagerRow.cs
- MessageFilterTable.cs
- SpeakProgressEventArgs.cs
- SecurityAttributeGenerationHelper.cs
- OleDbMetaDataFactory.cs
- NotificationContext.cs
- MultiDataTrigger.cs
- SessionStateUtil.cs
- parserscommon.cs
- cookiecontainer.cs
- StatusBarItem.cs
- SqlProfileProvider.cs
- NetworkCredential.cs
- ControlValuePropertyAttribute.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- EventNotify.cs
- ObjectDataSourceWizardForm.cs
- IndexerNameAttribute.cs