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
- ExtendedPropertyDescriptor.cs
- EncryptedKey.cs
- ImageAttributes.cs
- DataGridCellsPresenter.cs
- TaskResultSetter.cs
- SHA256Managed.cs
- ItemsPanelTemplate.cs
- Int64KeyFrameCollection.cs
- SymmetricAlgorithm.cs
- PolygonHotSpot.cs
- FullTrustAssembliesSection.cs
- ScriptModule.cs
- SimpleTextLine.cs
- SafeThemeHandle.cs
- InteropBitmapSource.cs
- PlaceHolder.cs
- HostedTransportConfigurationManager.cs
- SignedXml.cs
- RegexWorker.cs
- JsonFormatReaderGenerator.cs
- wgx_exports.cs
- WebRequestModuleElementCollection.cs
- MimeReflector.cs
- XNodeValidator.cs
- Command.cs
- coordinatorfactory.cs
- GestureRecognizer.cs
- ObjectConverter.cs
- StylusTip.cs
- ResourceReferenceExpressionConverter.cs
- RequiredArgumentAttribute.cs
- QueryGeneratorBase.cs
- HashJoinQueryOperatorEnumerator.cs
- ConsoleTraceListener.cs
- Int16Animation.cs
- TransformerInfo.cs
- HGlobalSafeHandle.cs
- RuntimeTrackingProfile.cs
- DrawingAttributes.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- CompilationSection.cs
- RenamedEventArgs.cs
- MruCache.cs
- ConfigXmlDocument.cs
- TextRangeEdit.cs
- DependencyObjectPropertyDescriptor.cs
- ValidatingPropertiesEventArgs.cs
- FileIOPermission.cs
- AssemblyHash.cs
- MDIClient.cs
- NonBatchDirectoryCompiler.cs
- CardSpaceShim.cs
- Animatable.cs
- AuthenticatingEventArgs.cs
- ComplexBindingPropertiesAttribute.cs
- AppModelKnownContentFactory.cs
- EventHandlerList.cs
- RecordConverter.cs
- Slider.cs
- _NtlmClient.cs
- PagedControl.cs
- AssemblyCache.cs
- LayoutUtils.cs
- MethodBuilder.cs
- InheritanceUI.cs
- DefaultAsyncDataDispatcher.cs
- InstalledVoice.cs
- CancelEventArgs.cs
- bindurihelper.cs
- FixedSOMContainer.cs
- PrintController.cs
- CommandField.cs
- ColumnHeaderConverter.cs
- UnsafeMethods.cs
- UnionQueryOperator.cs
- COMException.cs
- ToggleButtonAutomationPeer.cs
- RowToFieldTransformer.cs
- WorkflowHostingResponseContext.cs
- TextViewSelectionProcessor.cs
- SqlBooleanMismatchVisitor.cs
- OdbcEnvironment.cs
- ClientRuntimeConfig.cs
- LogStore.cs
- EmptyStringExpandableObjectConverter.cs
- XsdBuildProvider.cs
- ComponentGuaranteesAttribute.cs
- ColumnClickEvent.cs
- ColorMap.cs
- SQLRoleProvider.cs
- Size3DValueSerializer.cs
- CqlLexer.cs
- ButtonBase.cs
- WebReferencesBuildProvider.cs
- DesignerProperties.cs
- DataFieldEditor.cs
- PageRanges.cs
- Int16AnimationBase.cs
- OrderByQueryOptionExpression.cs
- RSAPKCS1SignatureDeformatter.cs