Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / TypeDescriptionProviderAttribute.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StatusBarDrawItemEvent.cs
- Vector3D.cs
- ListItemConverter.cs
- KeyTimeConverter.cs
- ComponentEvent.cs
- PartBasedPackageProperties.cs
- Exceptions.cs
- StorageMappingFragment.cs
- MessageEncodingBindingElement.cs
- AutomationEvent.cs
- BamlLocalizableResourceKey.cs
- FileSecurity.cs
- SHA256.cs
- Serializer.cs
- PatternMatcher.cs
- QilFunction.cs
- ParsedAttributeCollection.cs
- QilNode.cs
- XhtmlBasicObjectListAdapter.cs
- HtmlShim.cs
- SqlProcedureAttribute.cs
- DeviceContext2.cs
- SafeFileHandle.cs
- CharacterBufferReference.cs
- PassportPrincipal.cs
- TaskHelper.cs
- SecurityHelper.cs
- BitmapEffectInputData.cs
- ConfigXmlComment.cs
- Metafile.cs
- FrameworkElementFactoryMarkupObject.cs
- Int32Animation.cs
- JoinSymbol.cs
- AppSettingsSection.cs
- BamlLocalizationDictionary.cs
- ImpersonateTokenRef.cs
- SqlMethodAttribute.cs
- ItemCheckedEvent.cs
- PackageRelationship.cs
- Page.cs
- BookmarkInfo.cs
- StrokeNodeOperations.cs
- Page.cs
- Visual.cs
- Utils.cs
- PathParser.cs
- PropertyOverridesTypeEditor.cs
- PropertyDescriptorComparer.cs
- ChildDocumentBlock.cs
- MulticastNotSupportedException.cs
- PageRequestManager.cs
- WriteableOnDemandStream.cs
- ViewStateException.cs
- CheckBoxAutomationPeer.cs
- ShimAsPublicXamlType.cs
- BamlRecordReader.cs
- XmlTextAttribute.cs
- ByteConverter.cs
- ServiceDurableInstanceContextProvider.cs
- LoginDesignerUtil.cs
- DesignerCommandSet.cs
- Substitution.cs
- FixedTextSelectionProcessor.cs
- CompiledXpathExpr.cs
- ExtenderProviderService.cs
- SSmlParser.cs
- KoreanLunisolarCalendar.cs
- RoutedEventArgs.cs
- _NTAuthentication.cs
- TextInfo.cs
- PropertyValidationContext.cs
- SafeFileMappingHandle.cs
- TemplateControlParser.cs
- SmiConnection.cs
- OrderedEnumerableRowCollection.cs
- ToolStripRenderEventArgs.cs
- WindowsGraphicsCacheManager.cs
- WebConfigurationHost.cs
- ProxyWebPartConnectionCollection.cs
- AdvancedBindingPropertyDescriptor.cs
- IOException.cs
- KerberosSecurityTokenProvider.cs
- XPathNodeList.cs
- StreamGeometryContext.cs
- DataGridViewCellPaintingEventArgs.cs
- HostVisual.cs
- MexTcpBindingElement.cs
- HttpStaticObjectsCollectionWrapper.cs
- webbrowsersite.cs
- JavaScriptSerializer.cs
- InvalidFilterCriteriaException.cs
- XPathChildIterator.cs
- XmlDocumentSerializer.cs
- HttpClientCertificate.cs
- PropertyPath.cs
- SamlNameIdentifierClaimResource.cs
- CustomWebEventKey.cs
- RemotingAttributes.cs
- Int64.cs
- UInt64.cs