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
- StretchValidation.cs
- RoleServiceManager.cs
- MembershipValidatePasswordEventArgs.cs
- GridViewRowPresenterBase.cs
- FacetEnabledSchemaElement.cs
- FormattedText.cs
- ManifestSignedXml.cs
- ProcessHostFactoryHelper.cs
- RuleInfoComparer.cs
- GcSettings.cs
- SqlTriggerContext.cs
- NameValueCollection.cs
- WorkflowQueue.cs
- DocumentPaginator.cs
- CqlGenerator.cs
- BitmapPalette.cs
- ArglessEventHandlerProxy.cs
- SecurityContext.cs
- ConfigurationSectionCollection.cs
- ApplicationInterop.cs
- WizardStepBase.cs
- MembershipSection.cs
- ComAdminInterfaces.cs
- AuthenticateEventArgs.cs
- QilFunction.cs
- XmlWriter.cs
- TraceContextRecord.cs
- NamedServiceModelExtensionCollectionElement.cs
- FormsIdentity.cs
- QuotedPrintableStream.cs
- CurrentChangingEventManager.cs
- OpenTypeLayout.cs
- GridPattern.cs
- MultiByteCodec.cs
- ApplicationException.cs
- DescendentsWalkerBase.cs
- DataGridItem.cs
- ResourceAttributes.cs
- OutputCacheProviderCollection.cs
- ExpressionNode.cs
- Journaling.cs
- PerformanceCounterCategory.cs
- OperationFormatStyle.cs
- DurableTimerExtension.cs
- DataGridTable.cs
- SupportsEventValidationAttribute.cs
- ScriptReferenceBase.cs
- ViewManagerAttribute.cs
- DataGridViewCheckBoxCell.cs
- Rotation3DAnimationBase.cs
- ClassValidator.cs
- Queue.cs
- PartialCachingControl.cs
- RangeBase.cs
- ByteAnimationUsingKeyFrames.cs
- ProxyHwnd.cs
- SizeAnimationUsingKeyFrames.cs
- TreeNode.cs
- SpeechRecognizer.cs
- SystemPens.cs
- ResourcePart.cs
- StackOverflowException.cs
- ProgressPage.cs
- PolyBezierSegment.cs
- HtmlShim.cs
- RuleRef.cs
- DependencyObjectProvider.cs
- ResourceDescriptionAttribute.cs
- BitmapEffectvisualstate.cs
- SchemaImporterExtensionElementCollection.cs
- ClientEventManager.cs
- XMLSyntaxException.cs
- ValidatorCollection.cs
- StringResourceManager.cs
- SQLInt32Storage.cs
- DesignerToolboxInfo.cs
- DeviceContext.cs
- TargetConverter.cs
- ThreadStaticAttribute.cs
- TemplateControl.cs
- XDeferredAxisSource.cs
- oledbmetadatacollectionnames.cs
- FtpCachePolicyElement.cs
- StorageEntityTypeMapping.cs
- RecognitionEventArgs.cs
- DataColumn.cs
- KnownIds.cs
- StaticDataManager.cs
- Visitor.cs
- Deflater.cs
- NonDualMessageSecurityOverHttpElement.cs
- WizardStepBase.cs
- ChannelServices.cs
- NamespaceCollection.cs
- DataGridViewAdvancedBorderStyle.cs
- _SslSessionsCache.cs
- EntityDataSourceUtil.cs
- ViewPort3D.cs
- IResourceProvider.cs
- DataGridSortingEventArgs.cs