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
- Path.cs
- QilChoice.cs
- GeometryHitTestParameters.cs
- SignedPkcs7.cs
- EntityDataSourceChangingEventArgs.cs
- ObjectTypeMapping.cs
- BrowserCapabilitiesCodeGenerator.cs
- Int32RectConverter.cs
- SqlBulkCopyColumnMapping.cs
- WarningException.cs
- SoapIgnoreAttribute.cs
- SpecialNameAttribute.cs
- XmlTextAttribute.cs
- ColumnResult.cs
- MultiPageTextView.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- XPathException.cs
- CopyCodeAction.cs
- SerializationAttributes.cs
- ManagedWndProcTracker.cs
- Compiler.cs
- SuppressMessageAttribute.cs
- OleDbException.cs
- OLEDB_Enum.cs
- XmlNodeList.cs
- DataProtection.cs
- SafeFileMappingHandle.cs
- SecurityCredentialsManager.cs
- SigningDialog.cs
- StreamGeometry.cs
- RequestValidator.cs
- CodeCommentStatement.cs
- TypeReference.cs
- ProxyWebPart.cs
- OdbcCommand.cs
- SharedTcpTransportManager.cs
- BamlBinaryReader.cs
- TreeViewDesigner.cs
- TableAdapterManagerMethodGenerator.cs
- OutputCacheProfile.cs
- IsolatedStoragePermission.cs
- ConfigurationElementProperty.cs
- DoubleLinkList.cs
- ElementProxy.cs
- CompilerErrorCollection.cs
- OptionalColumn.cs
- SafeNativeMethods.cs
- DecoderReplacementFallback.cs
- LinkedDataMemberFieldEditor.cs
- FreezableCollection.cs
- SoapReflectionImporter.cs
- ShaperBuffers.cs
- MetaColumn.cs
- TCPListener.cs
- HierarchicalDataBoundControlAdapter.cs
- StaticTextPointer.cs
- EndpointNotFoundException.cs
- RegexCapture.cs
- XmlSchemaSimpleType.cs
- FormsAuthenticationEventArgs.cs
- ServiceThrottle.cs
- DbConnectionPoolCounters.cs
- TransactionProtocolConverter.cs
- BamlLocalizableResourceKey.cs
- HttpConfigurationSystem.cs
- DataGridHyperlinkColumn.cs
- IInstanceTable.cs
- PrinterUnitConvert.cs
- OpCopier.cs
- PackageStore.cs
- TaskFactory.cs
- XPathMessageFilterElementComparer.cs
- GeometryCollection.cs
- SrgsElementFactoryCompiler.cs
- TreeViewCancelEvent.cs
- LayoutManager.cs
- MemberAccessException.cs
- PageThemeCodeDomTreeGenerator.cs
- MaterializeFromAtom.cs
- RegistrationProxy.cs
- StreamUpdate.cs
- WebPartAuthorizationEventArgs.cs
- SignatureToken.cs
- Volatile.cs
- CodeStatementCollection.cs
- EntityContainer.cs
- EditorZoneBase.cs
- FixedPosition.cs
- DesignTable.cs
- SqlFunctionAttribute.cs
- CollectionBuilder.cs
- OracleString.cs
- InputLanguageEventArgs.cs
- PostBackOptions.cs
- TableLayoutPanelCodeDomSerializer.cs
- WorkflowStateRollbackService.cs
- DateTimeParse.cs
- DefaultBindingPropertyAttribute.cs
- XPathNavigatorKeyComparer.cs
- DefaultBindingPropertyAttribute.cs