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
- XmlAnyElementAttributes.cs
- ModelItemExtensions.cs
- TimeZone.cs
- EnlistmentTraceIdentifier.cs
- CodeMethodMap.cs
- InheritanceAttribute.cs
- PrintDocument.cs
- SmiMetaData.cs
- UpdatableGenericsFeature.cs
- InlineCollection.cs
- AsyncOperationContext.cs
- ContainerControl.cs
- PointLight.cs
- LineProperties.cs
- InputBinder.cs
- KnownTypesProvider.cs
- _SSPISessionCache.cs
- ByteRangeDownloader.cs
- DefaultValueTypeConverter.cs
- ProfileProvider.cs
- BooleanKeyFrameCollection.cs
- UrlMappingCollection.cs
- ItemCollection.cs
- HierarchicalDataTemplate.cs
- Claim.cs
- RoleService.cs
- WebPartDescriptionCollection.cs
- DocumentViewerHelper.cs
- ListControl.cs
- SequentialWorkflowRootDesigner.cs
- Emitter.cs
- WindowsTokenRoleProvider.cs
- TextDpi.cs
- configsystem.cs
- SqlClientPermission.cs
- SessionPageStateSection.cs
- httpserverutility.cs
- IntellisenseTextBox.cs
- LocatorPart.cs
- ConstructorNeedsTagAttribute.cs
- XPathNode.cs
- SharedPersonalizationStateInfo.cs
- InkCanvasFeedbackAdorner.cs
- PackageRelationship.cs
- TextElementAutomationPeer.cs
- ValueUtilsSmi.cs
- ClientBuildManager.cs
- AutoGeneratedFieldProperties.cs
- FileDialogCustomPlace.cs
- SimpleTableProvider.cs
- SpellerInterop.cs
- WebPartDisplayModeCollection.cs
- RegexCompiler.cs
- TableLayoutPanelCodeDomSerializer.cs
- ConcurrentStack.cs
- FontFaceLayoutInfo.cs
- ResourceSet.cs
- MsmqIntegrationElement.cs
- SingleQueryOperator.cs
- DependencyObject.cs
- ClientCultureInfo.cs
- newitemfactory.cs
- WebContext.cs
- UpDownEvent.cs
- EditorBrowsableAttribute.cs
- Span.cs
- PermissionSetTriple.cs
- SafeRegistryKey.cs
- TypeUtils.cs
- InputLanguageEventArgs.cs
- FontWeights.cs
- AnnotationStore.cs
- DictionarySectionHandler.cs
- AssociationSet.cs
- Oid.cs
- ToolStripAdornerWindowService.cs
- ReferentialConstraintRoleElement.cs
- CLRBindingWorker.cs
- TemplateKey.cs
- Error.cs
- HtmlTableRowCollection.cs
- DataListGeneralPage.cs
- SafeProcessHandle.cs
- ping.cs
- DropDownButton.cs
- FullTextBreakpoint.cs
- AutomationPeer.cs
- StackOverflowException.cs
- Bidi.cs
- documentsequencetextcontainer.cs
- MenuStrip.cs
- DataGridViewRowPrePaintEventArgs.cs
- DiagnosticsConfigurationHandler.cs
- AssemblyResourceLoader.cs
- IndexingContentUnit.cs
- Emitter.cs
- XmlValidatingReader.cs
- StateMachine.cs
- SizeF.cs
- Style.cs