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
- ValidatingPropertiesEventArgs.cs
- ETagAttribute.cs
- VisualStyleElement.cs
- ListItemParagraph.cs
- ProfileBuildProvider.cs
- MetaTableHelper.cs
- ArgumentFixer.cs
- PostBackTrigger.cs
- NavigatingCancelEventArgs.cs
- MetadataFile.cs
- FixedSOMPageConstructor.cs
- NavigationFailedEventArgs.cs
- SchemaObjectWriter.cs
- XamlSerializationHelper.cs
- _NestedMultipleAsyncResult.cs
- IItemContainerGenerator.cs
- PerformanceCounterPermissionEntry.cs
- MissingFieldException.cs
- Int16Storage.cs
- X509SecurityTokenProvider.cs
- CopyCodeAction.cs
- CodeMemberMethod.cs
- CrossContextChannel.cs
- HijriCalendar.cs
- HandlerMappingMemo.cs
- HostingEnvironmentSection.cs
- GeneralTransformGroup.cs
- XmlCDATASection.cs
- RouteValueDictionary.cs
- CustomErrorCollection.cs
- XmlDocument.cs
- TextBoxBaseDesigner.cs
- CustomErrorsSection.cs
- Asn1IntegerConverter.cs
- LineServices.cs
- ResourceProviderFactory.cs
- WebPartZoneBase.cs
- ipaddressinformationcollection.cs
- DateTimeSerializationSection.cs
- SerializerWriterEventHandlers.cs
- FrameworkContentElement.cs
- AnnotationMap.cs
- FileDialogCustomPlacesCollection.cs
- GroupBoxAutomationPeer.cs
- SR.cs
- CodeCatchClauseCollection.cs
- IncrementalHitTester.cs
- MultipleViewPatternIdentifiers.cs
- ThreadStaticAttribute.cs
- OnOperation.cs
- MessageSecurityProtocol.cs
- ResponseStream.cs
- BatchServiceHost.cs
- OdbcUtils.cs
- SevenBitStream.cs
- ITextView.cs
- HttpListenerPrefixCollection.cs
- XmlEntity.cs
- PersonalizableAttribute.cs
- ResourceExpressionEditorSheet.cs
- UnmanagedMarshal.cs
- TreeViewAutomationPeer.cs
- XamlReader.cs
- PlainXmlSerializer.cs
- SmtpMail.cs
- QueryPageSettingsEventArgs.cs
- ValidationRuleCollection.cs
- CodeRemoveEventStatement.cs
- StringBuilder.cs
- AbsoluteQuery.cs
- ReachFixedDocumentSerializer.cs
- ValuePattern.cs
- ThreadExceptionEvent.cs
- DrawingGroup.cs
- ConvertTextFrag.cs
- ThreadStaticAttribute.cs
- SqlAliasesReferenced.cs
- Button.cs
- DataBindingList.cs
- InstancePersistenceCommand.cs
- PathFigure.cs
- TextMessageEncodingBindingElement.cs
- ConnectionsZoneAutoFormat.cs
- ScalarType.cs
- SqlException.cs
- NativeMethods.cs
- NamespaceDecl.cs
- ListControlStringCollectionEditor.cs
- __Filters.cs
- SafeCoTaskMem.cs
- TextSelection.cs
- ProfileEventArgs.cs
- DiscardableAttribute.cs
- KeyTime.cs
- StreamUpdate.cs
- AsmxEndpointPickerExtension.cs
- DataList.cs
- SmtpLoginAuthenticationModule.cs
- ClientScriptManagerWrapper.cs
- XmlAttributeOverrides.cs