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
- COM2Properties.cs
- Function.cs
- SignedInfo.cs
- ProfileGroupSettings.cs
- TypeLoadException.cs
- TimerElapsedEvenArgs.cs
- safex509handles.cs
- TrayIconDesigner.cs
- XmlSerializationWriter.cs
- TransformValueSerializer.cs
- SystemColorTracker.cs
- WebPartEditVerb.cs
- BitmapSource.cs
- WebBrowserSiteBase.cs
- ParseHttpDate.cs
- SponsorHelper.cs
- DbConnectionHelper.cs
- SortedList.cs
- ManifestBasedResourceGroveler.cs
- Base64Encoder.cs
- PassportAuthenticationModule.cs
- ProfileSection.cs
- DirectoryInfo.cs
- CollectionChangedEventManager.cs
- BasicExpandProvider.cs
- AjaxFrameworkAssemblyAttribute.cs
- HotSpot.cs
- DebugView.cs
- ThrowOnMultipleAssignment.cs
- FormsAuthenticationConfiguration.cs
- NativeMethods.cs
- UpdatePanelControlTrigger.cs
- CustomAttributeSerializer.cs
- ITextView.cs
- PointHitTestParameters.cs
- HMACSHA384.cs
- WebServicesDescriptionAttribute.cs
- ErrorLog.cs
- Overlapped.cs
- FastEncoderWindow.cs
- RemotingConfigParser.cs
- DocumentsTrace.cs
- GraphicsPathIterator.cs
- SqlOuterApplyReducer.cs
- ReachFixedPageSerializer.cs
- TextBlockAutomationPeer.cs
- DataPagerCommandEventArgs.cs
- RenderCapability.cs
- SqlFlattener.cs
- FormsAuthenticationEventArgs.cs
- MetabaseServerConfig.cs
- InternalsVisibleToAttribute.cs
- ComboBox.cs
- MemberRelationshipService.cs
- FigureHelper.cs
- XslTransform.cs
- ErasingStroke.cs
- EventDrivenDesigner.cs
- EDesignUtil.cs
- OleStrCAMarshaler.cs
- ApplicationInfo.cs
- DataGridBoundColumn.cs
- GeometryCombineModeValidation.cs
- ConfigXmlElement.cs
- CompatibleIComparer.cs
- ArgIterator.cs
- ToolStripControlHost.cs
- TemplateControlBuildProvider.cs
- OrderedDictionary.cs
- JoinSymbol.cs
- DocumentViewer.cs
- AdPostCacheSubstitution.cs
- MenuItemCollection.cs
- WebResourceUtil.cs
- ColumnResult.cs
- CaseStatementProjectedSlot.cs
- InboundActivityHelper.cs
- DataGrid.cs
- ParameterToken.cs
- DataGridViewDataConnection.cs
- FileLevelControlBuilderAttribute.cs
- OuterGlowBitmapEffect.cs
- ListComponentEditorPage.cs
- WorkflowRuntimeServiceElement.cs
- HotSpotCollectionEditor.cs
- PropertyMetadata.cs
- SequenceDesigner.xaml.cs
- MultiDataTrigger.cs
- IDispatchConstantAttribute.cs
- FaultHandlingFilter.cs
- DispatcherOperation.cs
- DefaultEventAttribute.cs
- Parameter.cs
- ObjectFullSpanRewriter.cs
- XmlConvert.cs
- WebPartConnectionsEventArgs.cs
- PriorityQueue.cs
- ColumnMapTranslator.cs
- PropertyValueChangedEvent.cs
- HandlerBase.cs