Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / ComponentModel / TypeDescriptionProviderAttribute.cs / 1 / TypeDescriptionProviderAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class, Inherited = true)] public sealed class TypeDescriptionProviderAttribute : Attribute { private string _typeName; ////// Creates a new TypeDescriptionProviderAttribute object. /// public TypeDescriptionProviderAttribute(string typeName) { if (typeName == null) { throw new ArgumentNullException("typeName"); } _typeName = typeName; } ////// Creates a new TypeDescriptionProviderAttribute object. /// public TypeDescriptionProviderAttribute(Type type) { if (type == null) { throw new ArgumentNullException("type"); } _typeName = type.AssemblyQualifiedName; } ////// The TypeName property returns the assembly qualified type name /// for the type description provider. /// public string TypeName { get { return _typeName; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class, Inherited = true)] public sealed class TypeDescriptionProviderAttribute : Attribute { private string _typeName; ////// Creates a new TypeDescriptionProviderAttribute object. /// public TypeDescriptionProviderAttribute(string typeName) { if (typeName == null) { throw new ArgumentNullException("typeName"); } _typeName = typeName; } ////// Creates a new TypeDescriptionProviderAttribute object. /// public TypeDescriptionProviderAttribute(Type type) { if (type == null) { throw new ArgumentNullException("type"); } _typeName = type.AssemblyQualifiedName; } ////// The TypeName property returns the assembly qualified type name /// for the type description provider. /// public string TypeName { get { return _typeName; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IgnoreSection.cs
- MimeMapping.cs
- PublisherIdentityPermission.cs
- TypeUtils.cs
- XmlWriter.cs
- DataObjectCopyingEventArgs.cs
- MarkupProperty.cs
- OpenFileDialog.cs
- AppDomainShutdownMonitor.cs
- Int32Rect.cs
- RadioButton.cs
- RangeContentEnumerator.cs
- ImageDrawing.cs
- RowType.cs
- InvalidateEvent.cs
- XmlSchemaSimpleContent.cs
- ItemDragEvent.cs
- UnauthorizedAccessException.cs
- EditingCommands.cs
- EmptyImpersonationContext.cs
- _ListenerRequestStream.cs
- PropertyEmitter.cs
- PropertyItem.cs
- ListViewPagedDataSource.cs
- DataControlPagerLinkButton.cs
- BindingCompleteEventArgs.cs
- PageContentCollection.cs
- XPathNavigatorKeyComparer.cs
- PreviewPrintController.cs
- BookmarkInfo.cs
- SlipBehavior.cs
- WebPartAddingEventArgs.cs
- AsyncOperation.cs
- DataObjectFieldAttribute.cs
- IssuedTokensHeader.cs
- VisualTarget.cs
- CodeActivityMetadata.cs
- X509SecurityTokenProvider.cs
- CachingHintValidation.cs
- RC2CryptoServiceProvider.cs
- TaskFormBase.cs
- SystemTcpStatistics.cs
- BitmapData.cs
- NativeMethods.cs
- StaticExtensionConverter.cs
- TextTreeRootTextBlock.cs
- GridViewEditEventArgs.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ViewStateChangedEventArgs.cs
- ObjectHelper.cs
- ColorConvertedBitmap.cs
- ConfigurationSection.cs
- ResourceDescriptionAttribute.cs
- XmlSerializationWriter.cs
- MessageQueue.cs
- CompositeCollection.cs
- DecimalAverageAggregationOperator.cs
- followingsibling.cs
- linebase.cs
- Point.cs
- ToolStripDropDownMenu.cs
- DecimalConstantAttribute.cs
- EntityDataSourceColumn.cs
- OpenTypeLayoutCache.cs
- HtmlControlPersistable.cs
- QueryInterceptorAttribute.cs
- MaskedTextBox.cs
- DataObjectPastingEventArgs.cs
- QueryOutputWriter.cs
- EncoderReplacementFallback.cs
- SetterBase.cs
- LifetimeServices.cs
- RandomNumberGenerator.cs
- ErrorProvider.cs
- Byte.cs
- DataGridViewCellFormattingEventArgs.cs
- DataBindingCollection.cs
- AnnotationResourceCollection.cs
- dbdatarecord.cs
- UnsafeNativeMethods.cs
- Span.cs
- IProvider.cs
- EnglishPluralizationService.cs
- EncoderReplacementFallback.cs
- ToolbarAUtomationPeer.cs
- ConnectionStringsExpressionBuilder.cs
- DataGridHeaderBorder.cs
- AuthenticationModuleElementCollection.cs
- NameSpaceEvent.cs
- DataControlImageButton.cs
- ColorMatrix.cs
- Span.cs
- xdrvalidator.cs
- XmlParserContext.cs
- SqlBulkCopyColumnMapping.cs
- StylusPlugInCollection.cs
- MethodRental.cs
- InputBuffer.cs
- DateTimeFormat.cs
- IPPacketInformation.cs