Code:
/ DotNET / DotNET / 8.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
- ConnectivityStatus.cs
- SchemaContext.cs
- CssTextWriter.cs
- TrustSection.cs
- BaseDataBoundControl.cs
- SignatureDescription.cs
- AspNetSynchronizationContext.cs
- ZipArchive.cs
- FormatVersion.cs
- ISAPIRuntime.cs
- ModulesEntry.cs
- ModelItemImpl.cs
- SqlServer2KCompatibilityAnnotation.cs
- DataGridViewColumnConverter.cs
- TypeHelper.cs
- PathParser.cs
- XmlRawWriterWrapper.cs
- InputQueue.cs
- ErrorRuntimeConfig.cs
- RenderDataDrawingContext.cs
- DataSourceView.cs
- Normalization.cs
- StylusOverProperty.cs
- BaseServiceProvider.cs
- ServicePoint.cs
- FontNamesConverter.cs
- EngineSite.cs
- ObjectParameterCollection.cs
- Region.cs
- CounterCreationDataConverter.cs
- ResourceExpressionBuilder.cs
- HandleCollector.cs
- DateTimeHelper.cs
- HtmlShimManager.cs
- VariableQuery.cs
- SqlRowUpdatedEvent.cs
- SpanIndex.cs
- ExtenderControl.cs
- DataGridState.cs
- _NegotiateClient.cs
- ToolStripRenderEventArgs.cs
- SplashScreenNativeMethods.cs
- XmlWellformedWriter.cs
- SliderAutomationPeer.cs
- ReferenceService.cs
- CTreeGenerator.cs
- LinqExpressionNormalizer.cs
- TextEffect.cs
- ControllableStoryboardAction.cs
- ToolStripManager.cs
- tabpagecollectioneditor.cs
- RegexWorker.cs
- SafeEventHandle.cs
- ElapsedEventArgs.cs
- HostingEnvironmentSection.cs
- Vector3DCollection.cs
- ApplicationSettingsBase.cs
- ObjectStorage.cs
- EnumValidator.cs
- UInt64Storage.cs
- SqlCrossApplyToCrossJoin.cs
- FloatMinMaxAggregationOperator.cs
- PrivilegeNotHeldException.cs
- CompiledAction.cs
- CaseInsensitiveHashCodeProvider.cs
- ToolStripControlHost.cs
- TypeForwardedToAttribute.cs
- ContentControl.cs
- Journal.cs
- MediaElement.cs
- XmlTextReaderImplHelpers.cs
- NavigationCommands.cs
- MessageRpc.cs
- ResXFileRef.cs
- RootBrowserWindowProxy.cs
- PackagePart.cs
- AutoSizeComboBox.cs
- DetailsViewPagerRow.cs
- DefaultWorkflowTransactionService.cs
- AdRotatorDesigner.cs
- InsufficientExecutionStackException.cs
- DateTimeFormatInfo.cs
- coordinatorscratchpad.cs
- _AcceptOverlappedAsyncResult.cs
- Evaluator.cs
- RegexWriter.cs
- ProcessModelSection.cs
- RealProxy.cs
- SoapParser.cs
- CapabilitiesSection.cs
- ParsedAttributeCollection.cs
- RotationValidation.cs
- InertiaExpansionBehavior.cs
- SuppressIldasmAttribute.cs
- EmptyImpersonationContext.cs
- DeferredElementTreeState.cs
- StringDictionary.cs
- CharConverter.cs
- MatrixKeyFrameCollection.cs
- ScriptReference.cs