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
- WebException.cs
- CursorConverter.cs
- X509CertificateRecipientServiceCredential.cs
- CssClassPropertyAttribute.cs
- OrderedDictionaryStateHelper.cs
- PenLineJoinValidation.cs
- ProfileEventArgs.cs
- SourceLineInfo.cs
- TileBrush.cs
- TimeManager.cs
- BindingExpressionBase.cs
- StorageMappingItemCollection.cs
- HttpResponse.cs
- ArgumentOutOfRangeException.cs
- AssemblyUtil.cs
- ContentAlignmentEditor.cs
- IODescriptionAttribute.cs
- AQNBuilder.cs
- FormatPage.cs
- XmlLangPropertyAttribute.cs
- Formatter.cs
- QilPatternFactory.cs
- DataBindingHandlerAttribute.cs
- BitmapEffectCollection.cs
- WorkflowServiceAttributes.cs
- ClosureBinding.cs
- embossbitmapeffect.cs
- SemaphoreSecurity.cs
- CodeGotoStatement.cs
- IFormattable.cs
- XPathCompileException.cs
- DBConnectionString.cs
- Size3D.cs
- DetailsViewRow.cs
- XmlNamedNodeMap.cs
- InstanceData.cs
- CollectionViewGroupInternal.cs
- Point3DValueSerializer.cs
- Oid.cs
- SubqueryRules.cs
- Control.cs
- ProfileBuildProvider.cs
- SymmetricAlgorithm.cs
- ItemCollection.cs
- FieldAccessException.cs
- WmlCalendarAdapter.cs
- XamlReader.cs
- Regex.cs
- HttpsChannelListener.cs
- ObjectStateManager.cs
- XmlDataSourceView.cs
- ExtensionDataReader.cs
- HealthMonitoringSectionHelper.cs
- MaterialGroup.cs
- KnownTypeAttribute.cs
- CompilerScopeManager.cs
- GatewayDefinition.cs
- TreeViewItem.cs
- SrgsElementFactory.cs
- KeyMatchBuilder.cs
- DnsEndpointIdentity.cs
- HwndSourceKeyboardInputSite.cs
- AttachedPropertyInfo.cs
- EventLogPermissionEntryCollection.cs
- TextBox.cs
- ToolZoneDesigner.cs
- DataGridParentRows.cs
- FontUnit.cs
- ColorDialog.cs
- Transform.cs
- CustomAttribute.cs
- CombinedTcpChannel.cs
- TypeElement.cs
- RowUpdatingEventArgs.cs
- CollectionViewSource.cs
- Regex.cs
- DataStreams.cs
- WsdlInspector.cs
- Regex.cs
- EntityViewGenerationConstants.cs
- DefaultValueTypeConverter.cs
- CmsUtils.cs
- DataListAutoFormat.cs
- XNodeValidator.cs
- CellParaClient.cs
- cryptoapiTransform.cs
- ScriptControlManager.cs
- SemanticBasicElement.cs
- NonBatchDirectoryCompiler.cs
- WizardStepBase.cs
- BinHexEncoder.cs
- AdCreatedEventArgs.cs
- CacheAxisQuery.cs
- XmlQueryOutput.cs
- HtmlInputHidden.cs
- DataFormats.cs
- ObjectListDataBindEventArgs.cs
- Region.cs
- FloatSumAggregationOperator.cs
- HttpFileCollectionWrapper.cs