Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Attribute.cs
- RoleManagerEventArgs.cs
- PageEventArgs.cs
- EventLogRecord.cs
- BuildManager.cs
- XsdBuildProvider.cs
- ObjectListShowCommandsEventArgs.cs
- HashAlgorithm.cs
- CloudCollection.cs
- Exceptions.cs
- WindowsListViewGroup.cs
- FindCriteriaCD1.cs
- RSAProtectedConfigurationProvider.cs
- VectorAnimationUsingKeyFrames.cs
- EasingKeyFrames.cs
- WebRequest.cs
- Attributes.cs
- Rotation3DAnimation.cs
- XPathChildIterator.cs
- CLSCompliantAttribute.cs
- LayoutEditorPart.cs
- StylusTip.cs
- SafeEventLogWriteHandle.cs
- InputProcessorProfiles.cs
- TimeSpan.cs
- Substitution.cs
- XmlMtomReader.cs
- RoutedEventArgs.cs
- initElementDictionary.cs
- TabControl.cs
- RadioButton.cs
- DataGridViewLinkCell.cs
- SchemeSettingElementCollection.cs
- MeasureData.cs
- ToolStripSeparatorRenderEventArgs.cs
- CornerRadius.cs
- SQLSingle.cs
- CompilerCollection.cs
- OdbcDataAdapter.cs
- Win32.cs
- DynamicValidator.cs
- EntitySetRetriever.cs
- DragEventArgs.cs
- Attributes.cs
- FixedDSBuilder.cs
- MatrixIndependentAnimationStorage.cs
- ReferenceEqualityComparer.cs
- InheritanceRules.cs
- PrimitiveCodeDomSerializer.cs
- HttpFileCollectionWrapper.cs
- SecurityResources.cs
- HtmlDocument.cs
- CollectionChangedEventManager.cs
- TraceRecord.cs
- SystemSounds.cs
- TableRowsCollectionEditor.cs
- SimpleRecyclingCache.cs
- Keyboard.cs
- QilCloneVisitor.cs
- RegexWorker.cs
- Filter.cs
- Variable.cs
- WindowsRichEdit.cs
- CharacterMetricsDictionary.cs
- Parser.cs
- InvokeMemberBinder.cs
- FrameworkRichTextComposition.cs
- assemblycache.cs
- FileStream.cs
- StorageTypeMapping.cs
- CodeDelegateInvokeExpression.cs
- CollectionCodeDomSerializer.cs
- TimeoutTimer.cs
- RpcCryptoContext.cs
- ToolStripContentPanelDesigner.cs
- PostBackOptions.cs
- ByteBufferPool.cs
- SynchronizationValidator.cs
- FixedPage.cs
- Int64AnimationBase.cs
- DefaultExpression.cs
- DataGridBoundColumn.cs
- UITypeEditor.cs
- DataBindingExpressionBuilder.cs
- DataGridViewColumnEventArgs.cs
- MimeMapping.cs
- XmlEventCache.cs
- ModulesEntry.cs
- ImmutableObjectAttribute.cs
- HttpProfileBase.cs
- EdmItemCollection.OcAssemblyCache.cs
- unsafeIndexingFilterStream.cs
- PageContentCollection.cs
- SqlSelectStatement.cs
- SocketAddress.cs
- WebControlsSection.cs
- PkcsMisc.cs
- Transform3D.cs
- ObjectPersistData.cs
- DataGridGeneralPage.cs