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
- Decimal.cs
- MexTcpBindingElement.cs
- MergeEnumerator.cs
- KeyTimeConverter.cs
- WebCategoryAttribute.cs
- EntityUtil.cs
- XmlSerializationGeneratedCode.cs
- ImportDesigner.xaml.cs
- RelatedCurrencyManager.cs
- NameObjectCollectionBase.cs
- GlobalProxySelection.cs
- DataServiceQueryOfT.cs
- ObjectListFieldCollection.cs
- SessionParameter.cs
- TabControlAutomationPeer.cs
- ListBoxItem.cs
- PageRanges.cs
- CacheSection.cs
- CryptoApi.cs
- DiffuseMaterial.cs
- KeyedHashAlgorithm.cs
- StylusCaptureWithinProperty.cs
- AutomationEventArgs.cs
- COM2ExtendedTypeConverter.cs
- DynamicResourceExtension.cs
- RemotingAttributes.cs
- CodeRegionDirective.cs
- XmlSequenceWriter.cs
- SiteMapPathDesigner.cs
- ValidationRule.cs
- CodeSnippetCompileUnit.cs
- DynamicControlParameter.cs
- AssemblyContextControlItem.cs
- XPathBinder.cs
- Rss20ItemFormatter.cs
- SafeFreeMibTable.cs
- DetailsViewPageEventArgs.cs
- ScrollChrome.cs
- ActiveXHelper.cs
- BitmapDecoder.cs
- PixelFormatConverter.cs
- DynamicPropertyReader.cs
- DataMisalignedException.cs
- NavigationWindow.cs
- EdgeProfileValidation.cs
- TreeView.cs
- DataTemplateKey.cs
- ThicknessAnimationBase.cs
- TTSEngineProxy.cs
- AffineTransform3D.cs
- COAUTHINFO.cs
- FormatConvertedBitmap.cs
- MessageUtil.cs
- BrushMappingModeValidation.cs
- Canvas.cs
- Parsers.cs
- TdsParameterSetter.cs
- SmtpReplyReader.cs
- GenerateHelper.cs
- SymLanguageType.cs
- PagedDataSource.cs
- BooleanToVisibilityConverter.cs
- DataGridCommandEventArgs.cs
- CodeDesigner.cs
- Panel.cs
- BinarySerializer.cs
- RadioButtonDesigner.cs
- LineServices.cs
- GridViewRow.cs
- SourceSwitch.cs
- EncoderFallback.cs
- HtmlTableCell.cs
- SystemMulticastIPAddressInformation.cs
- PathData.cs
- ApplicationFileParser.cs
- Sequence.cs
- SqlRewriteScalarSubqueries.cs
- SharedStream.cs
- HtmlCalendarAdapter.cs
- DataServiceConfiguration.cs
- AddressHeaderCollectionElement.cs
- DefaultPrintController.cs
- WinEventTracker.cs
- BoolExpression.cs
- TextLineResult.cs
- EqualityArray.cs
- COM2ExtendedBrowsingHandler.cs
- RepeaterCommandEventArgs.cs
- DataGridViewImageCell.cs
- PersonalizationDictionary.cs
- ActivityUtilities.cs
- ProcessHostServerConfig.cs
- ScriptingRoleServiceSection.cs
- Command.cs
- xml.cs
- AttributeCollection.cs
- DispatchChannelSink.cs
- HtmlInputText.cs
- ProcessModule.cs
- AppSettingsSection.cs