Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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); } } // 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. /// ///// 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
- LinkAreaEditor.cs
- AuthenticationException.cs
- StopStoryboard.cs
- QueryOptionExpression.cs
- GeneralTransform3DTo2DTo3D.cs
- SrgsRuleRef.cs
- DateTimeStorage.cs
- BackgroundWorker.cs
- SqlReferenceCollection.cs
- AsymmetricKeyExchangeFormatter.cs
- QueryOperationResponseOfT.cs
- PointConverter.cs
- ListViewInsertionMark.cs
- ControlCachePolicy.cs
- TextElementCollection.cs
- LOSFormatter.cs
- ModuleConfigurationInfo.cs
- NullableDoubleSumAggregationOperator.cs
- SafeCryptHandles.cs
- CodeTypeConstructor.cs
- Types.cs
- EntityContainerRelationshipSet.cs
- HttpDebugHandler.cs
- InstalledFontCollection.cs
- ReferencedType.cs
- EtwTrackingParticipant.cs
- SchemaCollectionCompiler.cs
- DataGridViewCellCancelEventArgs.cs
- ObjectDataSourceStatusEventArgs.cs
- DSASignatureFormatter.cs
- EventDescriptor.cs
- HotCommands.cs
- CompilationRelaxations.cs
- Oid.cs
- DataGridViewBand.cs
- ISAPIApplicationHost.cs
- SspiSafeHandles.cs
- HtmlDocument.cs
- SystemUnicastIPAddressInformation.cs
- Drawing.cs
- ToolStripHighContrastRenderer.cs
- PassportAuthenticationModule.cs
- ResourcePool.cs
- Context.cs
- TypeInitializationException.cs
- ConfigurationLocationCollection.cs
- GradientStop.cs
- XmlQueryOutput.cs
- ClassicBorderDecorator.cs
- DataServiceQueryProvider.cs
- DirectoryNotFoundException.cs
- TypeToken.cs
- WebBrowsableAttribute.cs
- OdbcConnectionPoolProviderInfo.cs
- ExtensionDataObject.cs
- TagPrefixCollection.cs
- GeneralTransform3DCollection.cs
- SecurityCriticalDataForSet.cs
- ToolBar.cs
- DefaultSection.cs
- TransactedBatchContext.cs
- OracleException.cs
- SchemaLookupTable.cs
- InteropAutomationProvider.cs
- FieldTemplateFactory.cs
- DetailsView.cs
- SafeReadContext.cs
- DrawingGroup.cs
- TableLayoutStyle.cs
- TextTreeRootNode.cs
- HttpCapabilitiesSectionHandler.cs
- _NestedMultipleAsyncResult.cs
- RepeaterCommandEventArgs.cs
- CompiledELinqQueryState.cs
- EventManager.cs
- SimpleWorkerRequest.cs
- ImportCatalogPart.cs
- ModuleElement.cs
- SyndicationElementExtension.cs
- PropertyStore.cs
- FixedNode.cs
- ButtonBase.cs
- CookieProtection.cs
- AuthStoreRoleProvider.cs
- FakeModelItemImpl.cs
- SymmetricSecurityBindingElement.cs
- ProgramPublisher.cs
- Token.cs
- FixedPageStructure.cs
- SoapMessage.cs
- DataGridLinkButton.cs
- DataGridViewControlCollection.cs
- DataGridTextBox.cs
- SimpleTextLine.cs
- RuleProcessor.cs
- AngleUtil.cs
- RectangleGeometry.cs
- ChannelServices.cs
- AddingNewEventArgs.cs
- CompilerCollection.cs