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
- UpdateCommandGenerator.cs
- XamlPoint3DCollectionSerializer.cs
- ContainerSelectorGlyph.cs
- HtmlInputRadioButton.cs
- Win32.cs
- UnsafeNativeMethods.cs
- TypeForwardedToAttribute.cs
- Compress.cs
- SynchronizationValidator.cs
- FormViewDeleteEventArgs.cs
- EventDescriptor.cs
- UrlMappingsSection.cs
- MetricEntry.cs
- ValidatingReaderNodeData.cs
- SettingsBase.cs
- PieceNameHelper.cs
- EntityProxyFactory.cs
- ServicePerformanceCounters.cs
- ComAdminInterfaces.cs
- SqlDeflator.cs
- grammarelement.cs
- LinkDesigner.cs
- CounterSetInstanceCounterDataSet.cs
- ConfigurationManagerHelper.cs
- ResolveDuplexAsyncResult.cs
- EntityDataSourceMemberPath.cs
- BufferModeSettings.cs
- ImpersonationContext.cs
- SchemaNotation.cs
- XmlSchemaValidationException.cs
- PostBackOptions.cs
- TdsParserSafeHandles.cs
- EtwTrace.cs
- WinHttpWebProxyFinder.cs
- DbParameterHelper.cs
- FormViewRow.cs
- AvTrace.cs
- UnionCodeGroup.cs
- BamlResourceDeserializer.cs
- StatusBarDrawItemEvent.cs
- ZipArchive.cs
- DbConnectionPoolCounters.cs
- PropertyConverter.cs
- RightsManagementInformation.cs
- HttpRawResponse.cs
- TableRow.cs
- HashSet.cs
- DbLambda.cs
- DropAnimation.xaml.cs
- DateTimeOffsetConverter.cs
- UrlPath.cs
- JsonFormatGeneratorStatics.cs
- SearchForVirtualItemEventArgs.cs
- Oci.cs
- Reference.cs
- ValidationError.cs
- GridErrorDlg.cs
- DiscoveryReferences.cs
- ClockGroup.cs
- XmlUtf8RawTextWriter.cs
- InvokePatternIdentifiers.cs
- SizeF.cs
- SupportingTokenBindingElement.cs
- ObjectHandle.cs
- JavaScriptSerializer.cs
- CacheManager.cs
- CheckBoxBaseAdapter.cs
- AffineTransform3D.cs
- TiffBitmapEncoder.cs
- RuntimeWrappedException.cs
- IChannel.cs
- Operators.cs
- MSHTMLHostUtil.cs
- DataGridViewColumnConverter.cs
- SafeProcessHandle.cs
- RequestStatusBarUpdateEventArgs.cs
- DataTrigger.cs
- ErrorFormatterPage.cs
- DesignerListAdapter.cs
- Image.cs
- DBNull.cs
- FormsAuthenticationConfiguration.cs
- _NetworkingPerfCounters.cs
- DataGridViewCellPaintingEventArgs.cs
- XmlSchemaAttributeGroup.cs
- PageParser.cs
- DataBindingList.cs
- CircleHotSpot.cs
- DataGridGeneralPage.cs
- DataTableMappingCollection.cs
- InternalPermissions.cs
- ZipIOBlockManager.cs
- InstancePersistenceContext.cs
- XmlWrappingWriter.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Stack.cs
- SafeViewOfFileHandle.cs
- BamlRecordWriter.cs
- Metafile.cs
- CacheHelper.cs