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
- CompositionCommandSet.cs
- DoubleAnimationClockResource.cs
- TextTreeRootNode.cs
- ErasingStroke.cs
- PriorityQueue.cs
- DropDownList.cs
- CodeNamespaceImportCollection.cs
- BamlMapTable.cs
- StrokeDescriptor.cs
- EntityCommandExecutionException.cs
- RectangleF.cs
- EmbossBitmapEffect.cs
- DataGridViewComboBoxEditingControl.cs
- CalendarButtonAutomationPeer.cs
- SqlDataSourceCommandParser.cs
- ProfessionalColors.cs
- AliasExpr.cs
- WebServiceHandlerFactory.cs
- UInt16Converter.cs
- SHA1Managed.cs
- TagPrefixCollection.cs
- WpfWebRequestHelper.cs
- OracleSqlParser.cs
- PointCollectionValueSerializer.cs
- GlobalAllocSafeHandle.cs
- FormatVersion.cs
- DataGridViewTopRowAccessibleObject.cs
- NativeMethods.cs
- Image.cs
- ReflectionUtil.cs
- TypeConverterHelper.cs
- NoClickablePointException.cs
- XslCompiledTransform.cs
- ListBoxItemWrapperAutomationPeer.cs
- SqlInternalConnection.cs
- TimerElapsedEvenArgs.cs
- CodeIterationStatement.cs
- StringUtil.cs
- EventOpcode.cs
- HitTestResult.cs
- RsaKeyIdentifierClause.cs
- ExceptionDetail.cs
- TypeName.cs
- RequestStatusBarUpdateEventArgs.cs
- StrongName.cs
- TransformConverter.cs
- PeerName.cs
- ScrollPatternIdentifiers.cs
- DecimalStorage.cs
- SoapAttributeOverrides.cs
- RowCache.cs
- AuthorizationRule.cs
- StylusEditingBehavior.cs
- ObjectMemberMapping.cs
- ExpressionBuilderContext.cs
- InputScope.cs
- ResourceSetExpression.cs
- VerificationAttribute.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- TextBlock.cs
- ResourceManagerWrapper.cs
- mongolianshape.cs
- SymLanguageVendor.cs
- SmiEventSink_Default.cs
- ConditionalDesigner.cs
- CustomErrorsSectionWrapper.cs
- TextBox.cs
- DataGridViewRowCollection.cs
- OleDbConnectionFactory.cs
- DefaultBinder.cs
- GlobalAclOperationRequirement.cs
- DataGridParentRows.cs
- Function.cs
- GenericParameterDataContract.cs
- DisplayMemberTemplateSelector.cs
- ToolStripAdornerWindowService.cs
- InputProviderSite.cs
- TextSearch.cs
- SetIndexBinder.cs
- OutputCacheProfileCollection.cs
- StorageAssociationSetMapping.cs
- DataSourceCollectionBase.cs
- _UriTypeConverter.cs
- PaintEvent.cs
- WSTrustDec2005.cs
- StringArrayEditor.cs
- StreamSecurityUpgradeAcceptorBase.cs
- EventManager.cs
- ProxyManager.cs
- EntityClientCacheKey.cs
- Label.cs
- DesignOnlyAttribute.cs
- FormParameter.cs
- ProxyHelper.cs
- PKCS1MaskGenerationMethod.cs
- PageRequestManager.cs
- TypeUtils.cs
- IdentitySection.cs
- XmlSchemaComplexContent.cs
- ServiceParser.cs