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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OleDbParameterCollection.cs
- DataSourceCacheDurationConverter.cs
- Predicate.cs
- XmlCharCheckingWriter.cs
- XmlSerializerAssemblyAttribute.cs
- TextElement.cs
- Workspace.cs
- CategoryEditor.cs
- FormsAuthentication.cs
- Point.cs
- ConsumerConnectionPointCollection.cs
- LinqDataSourceUpdateEventArgs.cs
- ProfileManager.cs
- XmlNamespaceMapping.cs
- EdmItemCollection.OcAssemblyCache.cs
- ButtonBaseAdapter.cs
- PinnedBufferMemoryStream.cs
- RepeaterCommandEventArgs.cs
- WindowsStartMenu.cs
- XmlSerializerFactory.cs
- FlowDocumentPage.cs
- RegexNode.cs
- ListViewTableRow.cs
- SqlNotificationEventArgs.cs
- WaitHandle.cs
- NumberFormatter.cs
- Single.cs
- LockedAssemblyCache.cs
- SystemKeyConverter.cs
- ToggleProviderWrapper.cs
- XsltException.cs
- XsltException.cs
- HtmlTernaryTree.cs
- DesignerSerializerAttribute.cs
- RichTextBoxAutomationPeer.cs
- ReaderWriterLock.cs
- SiteMapPath.cs
- RemotingConfigParser.cs
- FixedDSBuilder.cs
- UIElementIsland.cs
- linebase.cs
- WebPartZone.cs
- NotImplementedException.cs
- ConfigurationManagerHelper.cs
- DSACryptoServiceProvider.cs
- CheckBoxDesigner.cs
- DecoderExceptionFallback.cs
- CustomSignedXml.cs
- ElementMarkupObject.cs
- CompilerGlobalScopeAttribute.cs
- iisPickupDirectory.cs
- MsmqPoisonMessageException.cs
- PackWebRequestFactory.cs
- SchemaImporterExtensionElement.cs
- HtmlInputRadioButton.cs
- PreparingEnlistment.cs
- DeclaredTypeValidatorAttribute.cs
- TemplateLookupAction.cs
- FormsAuthenticationModule.cs
- DbDataReader.cs
- OnOperation.cs
- ShaderEffect.cs
- ColorConvertedBitmap.cs
- X509Certificate2Collection.cs
- ObjectRef.cs
- BitmapFrame.cs
- TableRow.cs
- PtsContext.cs
- Utils.cs
- CodeAccessSecurityEngine.cs
- BrushConverter.cs
- OuterGlowBitmapEffect.cs
- DataPointer.cs
- DataBoundControlParameterTarget.cs
- XmlParserContext.cs
- DictionaryGlobals.cs
- ToolStripDropDownClosedEventArgs.cs
- CodeCommentStatementCollection.cs
- SafeSecurityHelper.cs
- QilSortKey.cs
- RoutedEventHandlerInfo.cs
- PartitionerStatic.cs
- StylusLogic.cs
- HTMLTagNameToTypeMapper.cs
- RuntimeHandles.cs
- DataViewManager.cs
- TagMapCollection.cs
- AssemblyCache.cs
- SingleQueryOperator.cs
- xmlfixedPageInfo.cs
- DbProviderManifest.cs
- TransactionTable.cs
- XmlILConstructAnalyzer.cs
- BindingMAnagerBase.cs
- panel.cs
- ColumnMapCopier.cs
- RectangleHotSpot.cs
- ModelFunctionTypeElement.cs
- MethodRental.cs
- GridViewRowPresenterBase.cs