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
- MulticastNotSupportedException.cs
- DocumentReference.cs
- EnumValidator.cs
- RawKeyboardInputReport.cs
- CompositeFontInfo.cs
- UnsafeNativeMethods.cs
- SourceInterpreter.cs
- ServiceInfo.cs
- XmlLanguageConverter.cs
- XmlExpressionDumper.cs
- BroadcastEventHelper.cs
- ApplicationGesture.cs
- HorizontalAlignConverter.cs
- DbMetaDataColumnNames.cs
- DataContract.cs
- DataContractJsonSerializerOperationBehavior.cs
- TextTreeText.cs
- DbTypeMap.cs
- DataGridAddNewRow.cs
- RedirectionProxy.cs
- DataSourceDesigner.cs
- RectangleConverter.cs
- TypeUsage.cs
- PropertyTabChangedEvent.cs
- PageStatePersister.cs
- NestPullup.cs
- Font.cs
- ListBox.cs
- XPathNavigatorKeyComparer.cs
- SystemParameters.cs
- WindowHideOrCloseTracker.cs
- DataGridViewRowsRemovedEventArgs.cs
- TargetFrameworkAttribute.cs
- WindowVisualStateTracker.cs
- WSDualHttpBindingCollectionElement.cs
- UncommonField.cs
- DefaultProxySection.cs
- VersionPair.cs
- ProcessHostFactoryHelper.cs
- JpegBitmapEncoder.cs
- CloudCollection.cs
- PrintController.cs
- mediaclock.cs
- HttpHandlerActionCollection.cs
- PenContexts.cs
- CompatibleComparer.cs
- AutomationElementCollection.cs
- ConfigurationLocation.cs
- GetCardDetailsRequest.cs
- C14NUtil.cs
- cryptoapiTransform.cs
- TimeoutException.cs
- InputLangChangeRequestEvent.cs
- TrustLevel.cs
- RectAnimationBase.cs
- ListDesigner.cs
- SymmetricKey.cs
- TextBoxRenderer.cs
- MatrixCamera.cs
- EntityDataSource.cs
- VariantWrapper.cs
- VideoDrawing.cs
- TimeSpanHelper.cs
- DataBindingCollection.cs
- WindowsFont.cs
- CompareInfo.cs
- DesignerAdRotatorAdapter.cs
- TaskFactory.cs
- DaylightTime.cs
- TextBreakpoint.cs
- CallbackValidatorAttribute.cs
- DataGridViewTopRowAccessibleObject.cs
- DataGridTable.cs
- KnownTypesProvider.cs
- Int16AnimationUsingKeyFrames.cs
- RequestChannel.cs
- ApplicationBuildProvider.cs
- XsdCachingReader.cs
- ColorBlend.cs
- __FastResourceComparer.cs
- FontStretch.cs
- TemplatePropertyEntry.cs
- EventLogTraceListener.cs
- NumericExpr.cs
- EntityException.cs
- AssemblyUtil.cs
- ExitEventArgs.cs
- TableNameAttribute.cs
- Property.cs
- XmlSchemaSimpleTypeUnion.cs
- XPathCompileException.cs
- ProfileSettingsCollection.cs
- ExpressionBuilderContext.cs
- FloatSumAggregationOperator.cs
- TdsParserSafeHandles.cs
- XPathAncestorIterator.cs
- TemplateControlBuildProvider.cs
- ParenthesizePropertyNameAttribute.cs
- CryptoApi.cs
- ArrangedElement.cs