Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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); } } // 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. /// ///// 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
- CharUnicodeInfo.cs
- ControlCachePolicy.cs
- DisableDpiAwarenessAttribute.cs
- SHA1CryptoServiceProvider.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- TypographyProperties.cs
- AppearanceEditorPart.cs
- SoapUnknownHeader.cs
- COM2ComponentEditor.cs
- WindowsBrush.cs
- Duration.cs
- FontFaceLayoutInfo.cs
- PerformanceCounterCategory.cs
- DataIdProcessor.cs
- Funcletizer.cs
- CommonGetThemePartSize.cs
- SemanticResultKey.cs
- Parameter.cs
- Config.cs
- PerCallInstanceContextProvider.cs
- COSERVERINFO.cs
- ClientViaElement.cs
- EventLogPermissionEntryCollection.cs
- CatalogZoneBase.cs
- TemplateControlParser.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- APCustomTypeDescriptor.cs
- PointCollectionValueSerializer.cs
- Rect3DValueSerializer.cs
- FilteredSchemaElementLookUpTable.cs
- ListControl.cs
- Point3DCollection.cs
- XmlILIndex.cs
- mediaeventshelper.cs
- XmlBinaryWriterSession.cs
- MouseGestureValueSerializer.cs
- MSHTMLHost.cs
- LabelDesigner.cs
- DataSourceCache.cs
- ASCIIEncoding.cs
- HtmlSelect.cs
- ApplicationManager.cs
- PointUtil.cs
- SystemIcmpV4Statistics.cs
- LinqDataSourceView.cs
- ArrangedElementCollection.cs
- SystemPens.cs
- MulticastDelegate.cs
- DataGridColumnCollection.cs
- PartitionResolver.cs
- DebuggerService.cs
- TypeConverterHelper.cs
- SignatureHelper.cs
- ActivityTrace.cs
- SqlAggregateChecker.cs
- RowSpanVector.cs
- CodeTypeReferenceExpression.cs
- DataGridViewBand.cs
- FontStretch.cs
- InertiaTranslationBehavior.cs
- MDIWindowDialog.cs
- PeerToPeerException.cs
- HyperLink.cs
- Solver.cs
- DataGridViewCheckBoxColumn.cs
- SchemaEntity.cs
- OverlappedAsyncResult.cs
- XPathDescendantIterator.cs
- XPathNodeHelper.cs
- HttpDictionary.cs
- XmlUrlEditor.cs
- CmsInterop.cs
- GridSplitter.cs
- DataTemplate.cs
- StatusBarItem.cs
- UdpDiscoveryEndpoint.cs
- RootBuilder.cs
- ParameterDataSourceExpression.cs
- XmlSchemaSearchPattern.cs
- sqlinternaltransaction.cs
- IList.cs
- ToolboxItemAttribute.cs
- CollectionMarkupSerializer.cs
- CollectionViewGroup.cs
- FileInfo.cs
- BitmapDownload.cs
- CheckBoxPopupAdapter.cs
- IsolatedStorageFile.cs
- SerializationInfoEnumerator.cs
- PropertyStore.cs
- KnownTypeHelper.cs
- PrivilegeNotHeldException.cs
- ConfigurationElement.cs
- GeneralTransform3DCollection.cs
- EndOfStreamException.cs
- ValueConversionAttribute.cs
- MulticastOption.cs
- SecurityException.cs
- JournalEntryStack.cs
- MetadataFile.cs