Code:
/ FX-1434 / FX-1434 / 1.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
- SortExpressionBuilder.cs
- oledbconnectionstring.cs
- UncommonField.cs
- AdornerDecorator.cs
- StylusPlugInCollection.cs
- AmbientValueAttribute.cs
- SocketElement.cs
- PointLightBase.cs
- ColorBlend.cs
- DbConnectionPool.cs
- ApplicationSecurityManager.cs
- ProtocolsSection.cs
- DesignerActionUIService.cs
- DateTimeSerializationSection.cs
- CharConverter.cs
- Bitmap.cs
- HtmlEncodedRawTextWriter.cs
- XmlSchemaComplexContent.cs
- Rotation3DAnimation.cs
- FontCacheUtil.cs
- mediapermission.cs
- ViewStateModeByIdAttribute.cs
- EnvironmentPermission.cs
- SkewTransform.cs
- CreateParams.cs
- ResourceAssociationTypeEnd.cs
- TimeoutTimer.cs
- SimpleNameService.cs
- WindowProviderWrapper.cs
- DataGridTextBoxColumn.cs
- TypeSystem.cs
- DesignerLinkAdapter.cs
- SafeHandle.cs
- Blend.cs
- DiscoveryMessageSequenceGenerator.cs
- ToolStripItemRenderEventArgs.cs
- ConnectionManagementElement.cs
- EncryptedData.cs
- ValidationPropertyAttribute.cs
- Label.cs
- UrlPropertyAttribute.cs
- C14NUtil.cs
- CodeSubDirectory.cs
- EntityViewGenerationConstants.cs
- DefaultAsyncDataDispatcher.cs
- DataGridTablesFactory.cs
- WebPartMenuStyle.cs
- HashCryptoHandle.cs
- ReferencedType.cs
- BaseTemplateBuildProvider.cs
- Html32TextWriter.cs
- ExpressionPrefixAttribute.cs
- JoinSymbol.cs
- WebPartEditorOkVerb.cs
- MonitorWrapper.cs
- CryptoConfig.cs
- IndexOutOfRangeException.cs
- RegexFCD.cs
- RegexGroupCollection.cs
- SelectedDatesCollection.cs
- SoapIncludeAttribute.cs
- JoinTreeNode.cs
- DataColumnPropertyDescriptor.cs
- AdPostCacheSubstitution.cs
- DefaultMergeHelper.cs
- DataRelationPropertyDescriptor.cs
- SqlDataAdapter.cs
- WebControlAdapter.cs
- EndpointConfigContainer.cs
- ToolStripPanel.cs
- Expression.cs
- SafeSecurityHandles.cs
- XmlChoiceIdentifierAttribute.cs
- TransformedBitmap.cs
- ZipIOExtraFieldElement.cs
- IdentityReference.cs
- SqlNotificationEventArgs.cs
- X509ChainPolicy.cs
- ADConnectionHelper.cs
- CodePrimitiveExpression.cs
- DesignerForm.cs
- SHA384Cng.cs
- DispatcherObject.cs
- PresentationSource.cs
- activationcontext.cs
- AnimationTimeline.cs
- SinglePageViewer.cs
- GridViewCellAutomationPeer.cs
- ValuePatternIdentifiers.cs
- CompoundFileStreamReference.cs
- SynchronizedPool.cs
- Trace.cs
- MetaModel.cs
- TypedColumnHandler.cs
- Polyline.cs
- RNGCryptoServiceProvider.cs
- ListMarkerSourceInfo.cs
- SqlClientWrapperSmiStream.cs
- LinkButton.cs
- OleDbEnumerator.cs