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
- ThemeDirectoryCompiler.cs
- RMEnrollmentPage3.cs
- XmlSchemaSimpleTypeList.cs
- TimeSpanHelper.cs
- CodeSnippetTypeMember.cs
- ResetableIterator.cs
- EntityClientCacheKey.cs
- RSAProtectedConfigurationProvider.cs
- XmlNodeChangedEventManager.cs
- MeasureItemEvent.cs
- InteropAutomationProvider.cs
- ObjectQuery.cs
- HtmlInputHidden.cs
- SerializableAttribute.cs
- ZipIOLocalFileDataDescriptor.cs
- Timer.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- SHA512CryptoServiceProvider.cs
- ContentType.cs
- BlurBitmapEffect.cs
- DocobjHost.cs
- MouseGesture.cs
- SecUtil.cs
- DragStartedEventArgs.cs
- Rights.cs
- GuidTagList.cs
- GroupBoxAutomationPeer.cs
- CompiledIdentityConstraint.cs
- CompilerResults.cs
- WebBrowser.cs
- RecordManager.cs
- HttpProfileBase.cs
- EventLogTraceListener.cs
- GridLengthConverter.cs
- PageCodeDomTreeGenerator.cs
- ReferencedType.cs
- Encoder.cs
- Authorization.cs
- VirtualDirectoryMapping.cs
- CombinedGeometry.cs
- SqlDataSourceQueryEditorForm.cs
- WebPartRestoreVerb.cs
- Internal.cs
- DeclarativeCatalogPart.cs
- ProgressiveCrcCalculatingStream.cs
- XmlUtil.cs
- UIPermission.cs
- ColumnMapProcessor.cs
- VisualCollection.cs
- RenderOptions.cs
- HttpDateParse.cs
- WrappedIUnknown.cs
- ServiceThrottlingElement.cs
- Statements.cs
- WeakHashtable.cs
- _NtlmClient.cs
- BitmapFrameDecode.cs
- OperationCanceledException.cs
- ContextQuery.cs
- TextRangeEdit.cs
- DeclarativeCatalogPart.cs
- KeyValuePair.cs
- ListItemCollection.cs
- PropertyMappingExceptionEventArgs.cs
- ByteAnimation.cs
- Soap.cs
- UdpConstants.cs
- LifetimeServices.cs
- ScopelessEnumAttribute.cs
- SecurityCriticalDataForSet.cs
- AmbientValueAttribute.cs
- AdPostCacheSubstitution.cs
- VoiceSynthesis.cs
- WebControlAdapter.cs
- ObjectManager.cs
- ModelPerspective.cs
- EntityTypeEmitter.cs
- ListViewInsertEventArgs.cs
- MessagePartSpecification.cs
- CriticalFinalizerObject.cs
- OdbcCommand.cs
- SelectionWordBreaker.cs
- PageContentAsyncResult.cs
- TraceInternal.cs
- UpDownBase.cs
- BaseDataList.cs
- SchemaMapping.cs
- FontCollection.cs
- SQLBoolean.cs
- RedistVersionInfo.cs
- PointLight.cs
- ErrorHandler.cs
- Html32TextWriter.cs
- Script.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- AnnotationHighlightLayer.cs
- SamlAttributeStatement.cs
- VirtualDirectoryMappingCollection.cs
- DataGridViewLinkColumn.cs
- ErrorRuntimeConfig.cs