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
- Roles.cs
- StylusSystemGestureEventArgs.cs
- WindowsListViewSubItem.cs
- ArrayElementGridEntry.cs
- PartialArray.cs
- ObjectToIdCache.cs
- XPathNodeHelper.cs
- PropertyEmitterBase.cs
- Style.cs
- LoggedException.cs
- TransformProviderWrapper.cs
- NeutralResourcesLanguageAttribute.cs
- RenderingEventArgs.cs
- LoginCancelEventArgs.cs
- AlphabetConverter.cs
- DynamicPropertyHolder.cs
- LoadedOrUnloadedOperation.cs
- XmlCharCheckingWriter.cs
- Collection.cs
- Parser.cs
- StructuralComparisons.cs
- EndCreateSecurityTokenRequest.cs
- ObjectStorage.cs
- TaskFactory.cs
- OleDbPermission.cs
- RuntimeVariableList.cs
- DataSourceConverter.cs
- ExportException.cs
- XmlSerializerAssemblyAttribute.cs
- CachedPathData.cs
- latinshape.cs
- UnsafeNativeMethodsPenimc.cs
- ReflectionHelper.cs
- HwndSubclass.cs
- AssertFilter.cs
- CellQuery.cs
- RepeatButtonAutomationPeer.cs
- CompilerParameters.cs
- XamlStream.cs
- PixelFormats.cs
- HttpRequestContext.cs
- EpmSyndicationContentSerializer.cs
- DataGridViewCellValueEventArgs.cs
- InspectionWorker.cs
- SQLSingleStorage.cs
- _ProxyChain.cs
- RtfControls.cs
- _IPv4Address.cs
- WindowsFormsSynchronizationContext.cs
- TypeDescriptionProviderAttribute.cs
- GroupBoxRenderer.cs
- FixedHighlight.cs
- PersianCalendar.cs
- MutableAssemblyCacheEntry.cs
- ObjectKeyFrameCollection.cs
- CodeDOMUtility.cs
- SecurityResources.cs
- XmlTextReader.cs
- ComplexTypeEmitter.cs
- UInt16Storage.cs
- AssemblyBuilder.cs
- WinFormsComponentEditor.cs
- HybridWebProxyFinder.cs
- xml.cs
- DynamicFilterExpression.cs
- WebEventTraceProvider.cs
- ZipPackagePart.cs
- PropertyGroupDescription.cs
- TypeBuilderInstantiation.cs
- Tablet.cs
- Attributes.cs
- PositiveTimeSpanValidatorAttribute.cs
- __ConsoleStream.cs
- JournalEntryStack.cs
- ProfileService.cs
- DesignTimeVisibleAttribute.cs
- EpmHelper.cs
- ComProxy.cs
- MatrixIndependentAnimationStorage.cs
- BindingsCollection.cs
- MailMessageEventArgs.cs
- SoapException.cs
- EntityClientCacheKey.cs
- CoreSwitches.cs
- BamlWriter.cs
- GuidTagList.cs
- SendMessageChannelCache.cs
- DisplayInformation.cs
- JsonFormatMapping.cs
- BoundingRectTracker.cs
- InvalidEnumArgumentException.cs
- IWorkflowDebuggerService.cs
- WindowsEditBoxRange.cs
- TypedRowGenerator.cs
- CornerRadiusConverter.cs
- ServiceDiscoveryElement.cs
- ControlIdConverter.cs
- AuthenticationService.cs
- FormViewPagerRow.cs
- HttpConfigurationSystem.cs