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
- FontStyleConverter.cs
- CounterSetInstanceCounterDataSet.cs
- ComEventsSink.cs
- FileLoadException.cs
- FormViewRow.cs
- datacache.cs
- PropertyInfoSet.cs
- WebException.cs
- ToolboxDataAttribute.cs
- TableLayoutSettings.cs
- SimplePropertyEntry.cs
- InvalidEnumArgumentException.cs
- PerformanceCounterCategory.cs
- DataRowChangeEvent.cs
- Button.cs
- securitycriticaldata.cs
- EventLogConfiguration.cs
- DataBinder.cs
- XsltException.cs
- EmbeddedMailObjectCollectionEditor.cs
- ModelTreeEnumerator.cs
- SimpleHandlerFactory.cs
- KeyTime.cs
- GeometryHitTestResult.cs
- MethodBuilderInstantiation.cs
- DefaultExpressionVisitor.cs
- ApplicationId.cs
- DataAdapter.cs
- LineMetrics.cs
- HwndSourceParameters.cs
- XpsFontSerializationService.cs
- HyperLinkColumn.cs
- ErrorEventArgs.cs
- ComponentResourceKeyConverter.cs
- DbModificationCommandTree.cs
- DbConnectionOptions.cs
- Signature.cs
- ExclusiveCanonicalizationTransform.cs
- EffectiveValueEntry.cs
- ListParaClient.cs
- ImageButton.cs
- DispatcherSynchronizationContext.cs
- SafeNativeMethods.cs
- DataServiceExpressionVisitor.cs
- SwitchAttribute.cs
- EdmItemCollection.cs
- ControlFilterExpression.cs
- RootProjectionNode.cs
- LightweightEntityWrapper.cs
- UriTemplateLiteralQueryValue.cs
- VirtualPathUtility.cs
- AvTraceFormat.cs
- ImageButton.cs
- DesigntimeLicenseContextSerializer.cs
- SqlDataSourceEnumerator.cs
- SHA1.cs
- PathFigure.cs
- EntityModelBuildProvider.cs
- ScopelessEnumAttribute.cs
- QueryOperationResponseOfT.cs
- TranslateTransform3D.cs
- InkCanvasSelection.cs
- SpeakProgressEventArgs.cs
- AffineTransform3D.cs
- DirectoryRootQuery.cs
- CatalogZoneBase.cs
- XmlCharacterData.cs
- DesignerHelpers.cs
- ObjectDataSourceView.cs
- SqlProvider.cs
- SystemColors.cs
- CacheEntry.cs
- FigureParagraph.cs
- KnownBoxes.cs
- StatusBarDesigner.cs
- GridViewCommandEventArgs.cs
- HttpHandler.cs
- X509ClientCertificateCredentialsElement.cs
- DbParameterCollectionHelper.cs
- WebPartConnectionCollection.cs
- XmlImplementation.cs
- UInt32Converter.cs
- TemplateBindingExtensionConverter.cs
- TextParagraphView.cs
- TreeWalkHelper.cs
- AttributeParameterInfo.cs
- EventListener.cs
- PathFigureCollection.cs
- ZipPackagePart.cs
- MaskPropertyEditor.cs
- XmlObjectSerializerReadContextComplexJson.cs
- FileSecurity.cs
- ProfilePropertyNameValidator.cs
- SecurityPermission.cs
- XPathDocumentBuilder.cs
- SourceFileBuildProvider.cs
- _OSSOCK.cs
- SHA256.cs
- TabletDevice.cs
- BinaryNode.cs