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
- TrackingProfileSerializer.cs
- TreeViewAutomationPeer.cs
- Lasso.cs
- MsmqUri.cs
- FixedSOMTable.cs
- QilTypeChecker.cs
- HandlerMappingMemo.cs
- Tag.cs
- Pair.cs
- DynamicDiscoveryDocument.cs
- OleDbMetaDataFactory.cs
- StrokeNodeOperations2.cs
- Rfc2898DeriveBytes.cs
- BoundField.cs
- EnumBuilder.cs
- ContractListAdapter.cs
- SendSecurityHeaderElement.cs
- AdPostCacheSubstitution.cs
- DtdParser.cs
- ActiveXSite.cs
- HScrollBar.cs
- HtmlContainerControl.cs
- StrokeRenderer.cs
- JsonEnumDataContract.cs
- documentsequencetextview.cs
- GridViewAutomationPeer.cs
- Stack.cs
- Point3DAnimationUsingKeyFrames.cs
- ProxySimple.cs
- Keyboard.cs
- ConfigXmlText.cs
- SafeRegistryHandle.cs
- CompensableActivity.cs
- MobileListItemCollection.cs
- WebBrowserEvent.cs
- AutoGeneratedFieldProperties.cs
- BindingCollection.cs
- Identity.cs
- TextLine.cs
- Token.cs
- TracePayload.cs
- HttpHandlerActionCollection.cs
- OleDbReferenceCollection.cs
- _SslStream.cs
- Literal.cs
- StringArrayConverter.cs
- EntityDataSourceState.cs
- ToolStripGripRenderEventArgs.cs
- RegexNode.cs
- RoleManagerEventArgs.cs
- BufferModeSettings.cs
- Walker.cs
- SamlAssertion.cs
- CrossAppDomainChannel.cs
- CodeCompiler.cs
- CodeObject.cs
- TransformedBitmap.cs
- BaseProcessor.cs
- xml.cs
- QualifiedCellIdBoolean.cs
- TriState.cs
- NonSerializedAttribute.cs
- GridLength.cs
- EqualityArray.cs
- ImageCodecInfo.cs
- DataGridViewRowPostPaintEventArgs.cs
- PropertyInformationCollection.cs
- Rotation3DAnimationBase.cs
- BitmapEffectGroup.cs
- Encoding.cs
- CustomValidator.cs
- odbcmetadatacollectionnames.cs
- DocobjHost.cs
- QuotedStringWriteStateInfo.cs
- HttpApplicationFactory.cs
- MasterPageCodeDomTreeGenerator.cs
- AddInPipelineAttributes.cs
- FirewallWrapper.cs
- EventRoute.cs
- XamlPoint3DCollectionSerializer.cs
- PlainXmlWriter.cs
- DynamicArgumentDesigner.xaml.cs
- XamlPointCollectionSerializer.cs
- DataGridColumnEventArgs.cs
- TimeIntervalCollection.cs
- FixedLineResult.cs
- ListViewUpdatedEventArgs.cs
- AffineTransform3D.cs
- XamlWrappingReader.cs
- NamespaceEmitter.cs
- DoubleLinkList.cs
- ComEventsSink.cs
- _Rfc2616CacheValidators.cs
- EntitySqlQueryState.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- SizeAnimation.cs
- BinaryFormatterWriter.cs
- documentsequencetextview.cs
- RsaEndpointIdentity.cs
- PageParserFilter.cs