Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- InitializingNewItemEventArgs.cs
- DataSvcMapFileSerializer.cs
- DataGridColumnEventArgs.cs
- ProfilePropertyNameValidator.cs
- ObjectAnimationBase.cs
- GPRECTF.cs
- TabControlEvent.cs
- DetailsViewPageEventArgs.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- HttpApplicationStateWrapper.cs
- TargetException.cs
- ExpandSegmentCollection.cs
- ListViewDeletedEventArgs.cs
- HGlobalSafeHandle.cs
- IconBitmapDecoder.cs
- DataTable.cs
- AttributeEmitter.cs
- Repeater.cs
- DbConnectionClosed.cs
- AnchoredBlock.cs
- X509Certificate2Collection.cs
- WebControlAdapter.cs
- SslStreamSecurityElement.cs
- ProviderSettingsCollection.cs
- TextAdaptor.cs
- CqlParser.cs
- smtpconnection.cs
- MethodCallTranslator.cs
- FtpWebResponse.cs
- shaper.cs
- LogEntrySerialization.cs
- PatternMatcher.cs
- StaticExtension.cs
- CultureTable.cs
- DataBinder.cs
- SignatureToken.cs
- JsonClassDataContract.cs
- ExecutionContext.cs
- LocatorPartList.cs
- CommentEmitter.cs
- CngUIPolicy.cs
- SchemaDeclBase.cs
- MissingManifestResourceException.cs
- SSmlParser.cs
- TreeBuilderXamlTranslator.cs
- milexports.cs
- CommandManager.cs
- XmlBoundElement.cs
- MsmqProcessProtocolHandler.cs
- ColorBuilder.cs
- FontCacheUtil.cs
- TypeDependencyAttribute.cs
- FileDialog.cs
- SEHException.cs
- TCEAdapterGenerator.cs
- VectorAnimationBase.cs
- SafeIUnknown.cs
- HeaderCollection.cs
- TcpServerChannel.cs
- Rfc2898DeriveBytes.cs
- Crc32.cs
- BamlLocalizableResource.cs
- WebScriptMetadataFormatter.cs
- OdbcConnectionHandle.cs
- PagerStyle.cs
- TypeSystemHelpers.cs
- HitTestResult.cs
- DbConnectionPoolGroupProviderInfo.cs
- MergeFailedEvent.cs
- XmlLanguageConverter.cs
- DataBindEngine.cs
- ClientData.cs
- Latin1Encoding.cs
- RolePrincipal.cs
- MobileControlsSectionHandler.cs
- SourceLineInfo.cs
- ClientTarget.cs
- DataRow.cs
- PriorityRange.cs
- WindowsScrollBar.cs
- TreeView.cs
- ButtonFieldBase.cs
- EntityContainerEmitter.cs
- XamlInt32CollectionSerializer.cs
- EventEntry.cs
- _NegotiateClient.cs
- GridViewDeletedEventArgs.cs
- SqlCacheDependencySection.cs
- ComponentManagerBroker.cs
- XmlSchemaImport.cs
- WebPartVerbCollection.cs
- UDPClient.cs
- PrinterSettings.cs
- SpanIndex.cs
- RegexMatch.cs
- TemplateColumn.cs
- SQLDoubleStorage.cs
- DateBoldEvent.cs
- SecureEnvironment.cs
- prompt.cs