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
- ControlEvent.cs
- System.Data_BID.cs
- TemplatedMailWebEventProvider.cs
- XmlIterators.cs
- Oci.cs
- HtmlInputImage.cs
- COSERVERINFO.cs
- ToolStripDropDown.cs
- MetadataArtifactLoader.cs
- FixedSOMContainer.cs
- VisualCollection.cs
- ValidationResult.cs
- TransactionScope.cs
- AuthorizationSection.cs
- GcHandle.cs
- ErrorTableItemStyle.cs
- Frame.cs
- CancellableEnumerable.cs
- NullReferenceException.cs
- PingOptions.cs
- SetIterators.cs
- Typeface.cs
- RenderingEventArgs.cs
- ZipIOFileItemStream.cs
- OdbcConnectionOpen.cs
- UnitySerializationHolder.cs
- ObjectHelper.cs
- QueryAccessibilityHelpEvent.cs
- MetafileHeaderEmf.cs
- _BaseOverlappedAsyncResult.cs
- SpeechSynthesizer.cs
- ModelItemCollection.cs
- UserNamePasswordClientCredential.cs
- WebPartCollection.cs
- controlskin.cs
- SerialStream.cs
- ByteAnimationUsingKeyFrames.cs
- Speller.cs
- DataControlFieldCell.cs
- StringDictionaryEditor.cs
- RootBuilder.cs
- SerialPort.cs
- EventSchemaTraceListener.cs
- NamedElement.cs
- DataRecordInfo.cs
- DynamicMetaObject.cs
- DomNameTable.cs
- MessageQueuePermissionAttribute.cs
- SubMenuStyle.cs
- MessageFault.cs
- DispatcherHooks.cs
- DuplexSecurityProtocolFactory.cs
- Schema.cs
- NavigationProperty.cs
- Condition.cs
- UnsafeNativeMethods.cs
- ImageIndexEditor.cs
- BufferModesCollection.cs
- ObjectDataSourceMethodEventArgs.cs
- CodeAttachEventStatement.cs
- WebAdminConfigurationHelper.cs
- EDesignUtil.cs
- ContextProperty.cs
- DocumentPageViewAutomationPeer.cs
- ViewStateException.cs
- coordinatorfactory.cs
- LinqDataSourceDeleteEventArgs.cs
- DataTableNewRowEvent.cs
- FormViewModeEventArgs.cs
- Package.cs
- Cloud.cs
- PasswordRecovery.cs
- ThicknessConverter.cs
- TimeStampChecker.cs
- Parameter.cs
- ImageKeyConverter.cs
- HttpCacheParams.cs
- SynchronizingStream.cs
- MultitargetUtil.cs
- MenuItem.cs
- OracleCommandBuilder.cs
- GB18030Encoding.cs
- Function.cs
- CultureData.cs
- InputMethodStateTypeInfo.cs
- VisualStyleInformation.cs
- StylusPoint.cs
- HttpFileCollection.cs
- _LocalDataStore.cs
- ComponentEditorPage.cs
- DocumentXmlWriter.cs
- ErasingStroke.cs
- StartUpEventArgs.cs
- WorkflowInstanceProxy.cs
- RuntimeResourceSet.cs
- BaseCodePageEncoding.cs
- GradientStopCollection.cs
- SqlTriggerAttribute.cs
- BitmapSourceSafeMILHandle.cs
- FileUtil.cs