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
- NetworkStream.cs
- PathData.cs
- Policy.cs
- CodeTypeReferenceExpression.cs
- NullableBoolConverter.cs
- StoragePropertyMapping.cs
- TableLayoutCellPaintEventArgs.cs
- Ops.cs
- Identifier.cs
- XsdCachingReader.cs
- DbParameterHelper.cs
- DefaultEvaluationContext.cs
- CustomAttributeBuilder.cs
- ExpressionBinding.cs
- TdsEnums.cs
- FaultDesigner.cs
- ServiceDescriptionReflector.cs
- ElementHostPropertyMap.cs
- TemplatedAdorner.cs
- CodeVariableReferenceExpression.cs
- DataBoundControl.cs
- DropShadowEffect.cs
- TableFieldsEditor.cs
- HtmlSelect.cs
- DataGridViewUtilities.cs
- ExpressionBuilderContext.cs
- ReadOnlyDataSource.cs
- Attribute.cs
- WebColorConverter.cs
- UnaryNode.cs
- RelationalExpressions.cs
- ParagraphResult.cs
- ObjectDisposedException.cs
- _NtlmClient.cs
- HtmlMobileTextWriter.cs
- TextLineResult.cs
- ParameterElementCollection.cs
- PingOptions.cs
- HtmlInputFile.cs
- ServiceHostingEnvironmentSection.cs
- InlineUIContainer.cs
- EntityParameter.cs
- Image.cs
- TableStyle.cs
- DbConnectionHelper.cs
- QueryCacheKey.cs
- ExtractedStateEntry.cs
- DbConnectionHelper.cs
- Hyperlink.cs
- DeferredReference.cs
- Empty.cs
- Hex.cs
- IdentityHolder.cs
- TdsValueSetter.cs
- GraphicsContainer.cs
- UpdatePanelTrigger.cs
- OracleLob.cs
- Int32CAMarshaler.cs
- QueryCacheManager.cs
- DesignerObject.cs
- AttributeEmitter.cs
- SymmetricKey.cs
- ForeignKeyConstraint.cs
- HttpListener.cs
- AspNetRouteServiceHttpHandler.cs
- DataSourceComponent.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- SiteMapDataSource.cs
- BridgeDataRecord.cs
- PageVisual.cs
- InfoCardTrace.cs
- DataSet.cs
- TypeInfo.cs
- RightsManagementInformation.cs
- FacetDescription.cs
- LifetimeServices.cs
- Resources.Designer.cs
- InheritanceRules.cs
- Switch.cs
- OdbcConnectionPoolProviderInfo.cs
- OdbcReferenceCollection.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- QueryOutputWriterV1.cs
- UInt16Storage.cs
- Stroke2.cs
- ArrayListCollectionBase.cs
- IItemContainerGenerator.cs
- TraceUtility.cs
- QfeChecker.cs
- OracleSqlParser.cs
- OleDbMetaDataFactory.cs
- DefaultSection.cs
- XmlNavigatorFilter.cs
- AuthenticateEventArgs.cs
- TransformPattern.cs
- HtmlTableCellCollection.cs
- ColumnMapCopier.cs
- WebBaseEventKeyComparer.cs
- DropTarget.cs
- ReadOnlyDataSourceView.cs