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
- ScrollBarAutomationPeer.cs
- NativeMethods.cs
- EmptyStringExpandableObjectConverter.cs
- categoryentry.cs
- AuthenticationException.cs
- ClientUtils.cs
- CachedBitmap.cs
- SettingsPropertyValue.cs
- ExtendedPropertyCollection.cs
- TemplateInstanceAttribute.cs
- NameValueConfigurationElement.cs
- KnownBoxes.cs
- JsonFormatWriterGenerator.cs
- WebPartManagerInternals.cs
- RestClientProxyHandler.cs
- TypeUsageBuilder.cs
- SystemColors.cs
- Matrix.cs
- AnnotationMap.cs
- XmlSchemaDatatype.cs
- HttpContext.cs
- XXXOnTypeBuilderInstantiation.cs
- AccessControlList.cs
- MemoryPressure.cs
- DataRowExtensions.cs
- RotateTransform.cs
- PaginationProgressEventArgs.cs
- MultiBinding.cs
- CustomLineCap.cs
- XmlQueryOutput.cs
- TreeViewHitTestInfo.cs
- SQLChars.cs
- Trace.cs
- EnvelopedPkcs7.cs
- SqlUnionizer.cs
- QueryCacheEntry.cs
- LiteralControl.cs
- TextTabProperties.cs
- FunctionDescription.cs
- UniqueIdentifierService.cs
- VolatileEnlistmentMultiplexing.cs
- PerspectiveCamera.cs
- SuppressMergeCheckAttribute.cs
- AuthenticationManager.cs
- ReceiveErrorHandling.cs
- TimeZone.cs
- StackBuilderSink.cs
- DecimalAnimation.cs
- BeginGetFileNameFromUserRequest.cs
- CLRBindingWorker.cs
- CheckBoxFlatAdapter.cs
- DataServiceHost.cs
- XmlSchemaInferenceException.cs
- HtmlShim.cs
- DbConnectionPoolOptions.cs
- NotifyCollectionChangedEventArgs.cs
- DbException.cs
- ConvertEvent.cs
- AbandonedMutexException.cs
- Dictionary.cs
- CodeAttachEventStatement.cs
- DialogDivider.cs
- MenuItemStyleCollection.cs
- RequestCachePolicy.cs
- WebExceptionStatus.cs
- AlternationConverter.cs
- StreamProxy.cs
- SchemaTypeEmitter.cs
- UriSection.cs
- PeerUnsafeNativeMethods.cs
- BitmapEffectGeneralTransform.cs
- DataObjectCopyingEventArgs.cs
- InternalsVisibleToAttribute.cs
- Win32.cs
- EntityCommandCompilationException.cs
- Literal.cs
- ClientType.cs
- DataTableNewRowEvent.cs
- ParseHttpDate.cs
- MenuDesigner.cs
- ScaleTransform3D.cs
- PersonalizableTypeEntry.cs
- PtsCache.cs
- SQLInt32Storage.cs
- BufferedGraphics.cs
- ButtonBase.cs
- DrawingCollection.cs
- DbMetaDataCollectionNames.cs
- XmlTextAttribute.cs
- WindowsTokenRoleProvider.cs
- CornerRadius.cs
- XmlnsCompatibleWithAttribute.cs
- QueryOperatorEnumerator.cs
- TextDecoration.cs
- ClientScriptManager.cs
- FileDialog_Vista.cs
- TableRowGroup.cs
- SchemaTableOptionalColumn.cs
- Table.cs
- Rotation3D.cs