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
- ExtensibleClassFactory.cs
- AspProxy.cs
- ZipIOBlockManager.cs
- TypeElement.cs
- TraceUtils.cs
- VariableQuery.cs
- PartitionedStream.cs
- PackageRelationshipCollection.cs
- Predicate.cs
- CodeDomLoader.cs
- SerializationEventsCache.cs
- LocatorBase.cs
- X500Name.cs
- HttpConfigurationContext.cs
- StylusShape.cs
- HttpEncoderUtility.cs
- CompilerLocalReference.cs
- Wildcard.cs
- HostExecutionContextManager.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- SelectedPathEditor.cs
- FilterElement.cs
- CipherData.cs
- XmlSchemaInfo.cs
- UIAgentCrashedException.cs
- BadImageFormatException.cs
- ToolBarOverflowPanel.cs
- ThreadAbortException.cs
- WebMessageEncodingElement.cs
- VideoDrawing.cs
- Parameter.cs
- DataTable.cs
- MsmqSecureHashAlgorithm.cs
- AttributeCallbackBuilder.cs
- TimeZone.cs
- HelpEvent.cs
- TabletDevice.cs
- Mapping.cs
- EncryptedType.cs
- OleDbParameter.cs
- SapiRecognizer.cs
- TextTreeTextNode.cs
- ExpressionLink.cs
- CodeTypeMember.cs
- TriggerCollection.cs
- XPathNodeInfoAtom.cs
- SafeNativeMethodsCLR.cs
- IndicCharClassifier.cs
- TreeWalkHelper.cs
- Zone.cs
- DataListItemEventArgs.cs
- ContentPosition.cs
- Win32Native.cs
- Constraint.cs
- DesignerCategoryAttribute.cs
- FrugalList.cs
- BaseConfigurationRecord.cs
- LogWriteRestartAreaState.cs
- LoadItemsEventArgs.cs
- TimeZone.cs
- ElementsClipboardData.cs
- XsltFunctions.cs
- RedirectionProxy.cs
- ToolBar.cs
- BehaviorDragDropEventArgs.cs
- PixelShader.cs
- LinqDataSourceInsertEventArgs.cs
- AutomationTextAttribute.cs
- ClientSettings.cs
- FillRuleValidation.cs
- ThreadSafeList.cs
- IDataContractSurrogate.cs
- WpfXamlLoader.cs
- DataFieldConverter.cs
- ObjectParameter.cs
- MailAddressCollection.cs
- SeekableReadStream.cs
- ConsumerConnectionPoint.cs
- TextEditorCharacters.cs
- NominalTypeEliminator.cs
- RangeBaseAutomationPeer.cs
- DirectionalLight.cs
- CalendarTable.cs
- Preprocessor.cs
- SingleConverter.cs
- Resources.Designer.cs
- WhiteSpaceTrimStringConverter.cs
- Utils.cs
- SessionStateItemCollection.cs
- SmtpException.cs
- Crc32.cs
- Label.cs
- InertiaExpansionBehavior.cs
- FrameworkTemplate.cs
- NavigateUrlConverter.cs
- FormsAuthenticationEventArgs.cs
- BuildProvider.cs
- AnimationClockResource.cs
- StylusPlugInCollection.cs
- SystemWebCachingSectionGroup.cs