Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OdbcCommandBuilder.cs
- TransactionalPackage.cs
- BaseCodeDomTreeGenerator.cs
- WebEvents.cs
- DefaultPrintController.cs
- ConstNode.cs
- DocumentsTrace.cs
- MiniMapControl.xaml.cs
- UnsignedPublishLicense.cs
- _ChunkParse.cs
- ThicknessConverter.cs
- MetadataUtil.cs
- Geometry.cs
- DataGridParentRows.cs
- LicenseContext.cs
- UpdatePanelTrigger.cs
- WithParamAction.cs
- SimpleTypesSurrogate.cs
- Image.cs
- SQLConvert.cs
- AuthenticationModuleElement.cs
- ArrayListCollectionBase.cs
- DataBoundControlDesigner.cs
- TypeExtension.cs
- SerializerDescriptor.cs
- baseshape.cs
- MetadataCache.cs
- TextLineResult.cs
- CellIdBoolean.cs
- SmtpSection.cs
- ClipboardData.cs
- GiveFeedbackEvent.cs
- ExecutionEngineException.cs
- SiteMapProvider.cs
- DataSetMappper.cs
- Win32SafeHandles.cs
- MetaModel.cs
- ElementHost.cs
- TraceData.cs
- EventBindingService.cs
- UnaryNode.cs
- CatalogPartDesigner.cs
- LocalBuilder.cs
- DateTimeValueSerializerContext.cs
- FrameworkContentElement.cs
- ValidateNames.cs
- VariantWrapper.cs
- RelationshipConverter.cs
- TableProviderWrapper.cs
- AbandonedMutexException.cs
- DataGridViewHitTestInfo.cs
- SupportingTokenChannel.cs
- ApplicationException.cs
- GradientStop.cs
- WizardStepBase.cs
- ConfigXmlWhitespace.cs
- DbConnectionPoolOptions.cs
- XmlText.cs
- FilterEventArgs.cs
- WebPartManagerInternals.cs
- SelectionChangedEventArgs.cs
- CopyEncoder.cs
- InstallerTypeAttribute.cs
- Attribute.cs
- WindowsSolidBrush.cs
- ClientScriptItem.cs
- PrimitiveDataContract.cs
- ItemChangedEventArgs.cs
- RadioButton.cs
- LayoutManager.cs
- RewritingSimplifier.cs
- DynamicVirtualDiscoSearcher.cs
- OneOfScalarConst.cs
- SliderAutomationPeer.cs
- PropertyValueChangedEvent.cs
- Pts.cs
- Line.cs
- CompoundFileStorageReference.cs
- DataGridCellItemAutomationPeer.cs
- ICspAsymmetricAlgorithm.cs
- DeviceContexts.cs
- HttpContextWrapper.cs
- _AcceptOverlappedAsyncResult.cs
- ListViewSortEventArgs.cs
- HtmlInputText.cs
- ModelPerspective.cs
- SqlCommandAsyncResult.cs
- CategoryAttribute.cs
- PointAnimationBase.cs
- Visual.cs
- MethodBuilder.cs
- MetadataException.cs
- TypeExtensionConverter.cs
- RangeBaseAutomationPeer.cs
- XhtmlBasicPanelAdapter.cs
- DrawingImage.cs
- PeerInputChannelListener.cs
- ItemType.cs
- DrawingBrush.cs
- sqlser.cs