Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompModHelpers.cs
- ConstraintEnumerator.cs
- Condition.cs
- WebPartManager.cs
- SchemaCollectionCompiler.cs
- Rotation3DKeyFrameCollection.cs
- HtmlHistory.cs
- Activity.cs
- CatalogPartCollection.cs
- JsonReader.cs
- DbMetaDataCollectionNames.cs
- PageCodeDomTreeGenerator.cs
- AssemblyHash.cs
- CodeDirectionExpression.cs
- VectorCollectionValueSerializer.cs
- CommandManager.cs
- TableProviderWrapper.cs
- ExtensionWindowResizeGrip.cs
- AffineTransform3D.cs
- FixUpCollection.cs
- _ListenerResponseStream.cs
- AsynchronousChannelMergeEnumerator.cs
- KeyboardEventArgs.cs
- SignatureDescription.cs
- LineGeometry.cs
- EmptyEnumerator.cs
- TransactionException.cs
- DesignerVerb.cs
- Window.cs
- XmlComplianceUtil.cs
- PermissionToken.cs
- ClientTargetSection.cs
- ModelServiceImpl.cs
- SharedConnectionWorkflowTransactionService.cs
- PublisherMembershipCondition.cs
- FixedPageStructure.cs
- SupportsEventValidationAttribute.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- QilTargetType.cs
- PageAdapter.cs
- WindowsMenu.cs
- Point3DKeyFrameCollection.cs
- CfgSemanticTag.cs
- OutOfMemoryException.cs
- SqlUtils.cs
- DataContractSet.cs
- X509SecurityToken.cs
- IntSecurity.cs
- Double.cs
- EpmSyndicationContentSerializer.cs
- TypeSystem.cs
- MessagePropertyDescription.cs
- Bitmap.cs
- AssemblyBuilder.cs
- IgnorePropertiesAttribute.cs
- WindowsGraphicsWrapper.cs
- ReadOnlyCollection.cs
- XmlRootAttribute.cs
- NetworkInformationException.cs
- DebugHandleTracker.cs
- Token.cs
- FontFamily.cs
- MatrixTransform3D.cs
- SelectingProviderEventArgs.cs
- XmlSignatureManifest.cs
- OdbcInfoMessageEvent.cs
- NavigatorOutput.cs
- DigestTraceRecordHelper.cs
- StructuredTypeInfo.cs
- DataServiceCollectionOfT.cs
- ProjectionPlan.cs
- UITypeEditor.cs
- SelectManyQueryOperator.cs
- DelegatingHeader.cs
- PackWebRequestFactory.cs
- MetadataSource.cs
- BinaryObjectInfo.cs
- RegexGroup.cs
- CompositionDesigner.cs
- WindowsSpinner.cs
- AppLevelCompilationSectionCache.cs
- SchemaElementDecl.cs
- StylusShape.cs
- ObjectQueryProvider.cs
- X509SecurityToken.cs
- TextBoxBase.cs
- InternalSafeNativeMethods.cs
- FastPropertyAccessor.cs
- CompositeFontFamily.cs
- _SslStream.cs
- Avt.cs
- InternalDuplexBindingElement.cs
- WinFormsSpinner.cs
- HttpWebResponse.cs
- SqlColumnizer.cs
- ToolStripDropDownMenu.cs
- XmlSchemaAnyAttribute.cs
- AxisAngleRotation3D.cs
- ConfigXmlText.cs
- SiteIdentityPermission.cs