Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / TypeDescriptionProviderAttribute.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RefreshInfo.cs
- SqlDependency.cs
- RenderData.cs
- TreeViewItemAutomationPeer.cs
- CodeMemberEvent.cs
- BlurBitmapEffect.cs
- _Win32.cs
- RelationshipNavigation.cs
- IndicFontClient.cs
- AppDomainFactory.cs
- GeneratedContractType.cs
- Pair.cs
- TextEffectResolver.cs
- MediaScriptCommandRoutedEventArgs.cs
- XmlHelper.cs
- IUnknownConstantAttribute.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- validationstate.cs
- ButtonBaseAdapter.cs
- VectorValueSerializer.cs
- WindowsGraphics2.cs
- WorkflowApplicationCompletedException.cs
- UdpTransportBindingElement.cs
- InputElement.cs
- MembershipSection.cs
- EditingMode.cs
- _Events.cs
- Accessible.cs
- DelegateInArgument.cs
- ConstructorArgumentAttribute.cs
- ActivityTypeDesigner.xaml.cs
- RelationshipEndCollection.cs
- MenuBindingsEditorForm.cs
- Membership.cs
- SqlMultiplexer.cs
- CachedPathData.cs
- LinqDataSourceEditData.cs
- OleDbErrorCollection.cs
- TextChangedEventArgs.cs
- CheckBoxStandardAdapter.cs
- StackOverflowException.cs
- XPathDocumentBuilder.cs
- NetNamedPipeSecurity.cs
- HtmlEmptyTagControlBuilder.cs
- ActivityCodeDomReferenceService.cs
- XmlChildEnumerator.cs
- JsonDeserializer.cs
- Size3DValueSerializer.cs
- Mapping.cs
- ScaleTransform.cs
- FixedDocumentSequencePaginator.cs
- XmlDocument.cs
- ListBase.cs
- IgnoreFileBuildProvider.cs
- OrthographicCamera.cs
- FormsIdentity.cs
- SecurityHelper.cs
- InfocardExtendedInformationCollection.cs
- AndCondition.cs
- ScriptManager.cs
- ItemDragEvent.cs
- Evidence.cs
- FixedFindEngine.cs
- RecipientInfo.cs
- CultureInfoConverter.cs
- ParallelEnumerable.cs
- SQLChars.cs
- DocumentManager.cs
- SafeNativeMethods.cs
- BitmapData.cs
- Conditional.cs
- AttributeCollection.cs
- SingleResultAttribute.cs
- TimeoutValidationAttribute.cs
- NativeMethods.cs
- WindowsProgressbar.cs
- Win32PrintDialog.cs
- FontResourceCache.cs
- BindingSourceDesigner.cs
- DocumentSequence.cs
- BaseUriHelper.cs
- CqlLexerHelpers.cs
- XamlDesignerSerializationManager.cs
- AccessControlList.cs
- XdrBuilder.cs
- ColorEditor.cs
- PerformanceCounterTraceRecord.cs
- xamlnodes.cs
- Expr.cs
- ArrayConverter.cs
- Application.cs
- DelegateBodyWriter.cs
- KeyInstance.cs
- FormViewPagerRow.cs
- ConfigurationManagerHelperFactory.cs
- TransformGroup.cs
- RequestNavigateEventArgs.cs
- SelectManyQueryOperator.cs
- Helper.cs
- CustomMenuItemCollection.cs