Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- InputQueueChannelAcceptor.cs
- ReaderOutput.cs
- ContractSearchPattern.cs
- StringCollectionMarkupSerializer.cs
- BookmarkScopeHandle.cs
- UnrecognizedAssertionsBindingElement.cs
- Native.cs
- UrlPath.cs
- Simplifier.cs
- ContextMarshalException.cs
- Exception.cs
- ContentType.cs
- XmlDeclaration.cs
- FixedStringLookup.cs
- DictionaryBase.cs
- TextEditorCopyPaste.cs
- SchemaCreator.cs
- ConnectorEditor.cs
- QueryParameter.cs
- StorageBasedPackageProperties.cs
- COM2ICategorizePropertiesHandler.cs
- AbstractDataSvcMapFileLoader.cs
- BitmapEffectGroup.cs
- ItemsControl.cs
- Fonts.cs
- AttachedPropertyBrowsableAttribute.cs
- UnsafeNativeMethodsTablet.cs
- AssociationSetEnd.cs
- AutomationAttributeInfo.cs
- TextOutput.cs
- ComPlusDiagnosticTraceSchemas.cs
- HitTestParameters.cs
- Symbol.cs
- QilLoop.cs
- CharAnimationBase.cs
- ProfileGroupSettingsCollection.cs
- KerberosSecurityTokenAuthenticator.cs
- AppearanceEditorPart.cs
- SHA384.cs
- HtmlShimManager.cs
- RSAOAEPKeyExchangeDeformatter.cs
- SubclassTypeValidatorAttribute.cs
- TextBoxLine.cs
- CodeDomLoader.cs
- RuleSettingsCollection.cs
- MultipleViewPattern.cs
- TaiwanLunisolarCalendar.cs
- StoreItemCollection.Loader.cs
- ButtonStandardAdapter.cs
- EdmValidator.cs
- XmlJsonWriter.cs
- UnsafeNativeMethods.cs
- MultiBinding.cs
- BmpBitmapEncoder.cs
- GlyphManager.cs
- Configuration.cs
- Int16.cs
- TriggerBase.cs
- EditorBrowsableAttribute.cs
- NoClickablePointException.cs
- CollectionContainer.cs
- ControlAdapter.cs
- TextServicesLoader.cs
- PostBackTrigger.cs
- EtwProvider.cs
- DEREncoding.cs
- DesignerAttribute.cs
- ProfileModule.cs
- TextServicesCompartment.cs
- SoapElementAttribute.cs
- HttpAsyncResult.cs
- FileLevelControlBuilderAttribute.cs
- StateItem.cs
- TextSegment.cs
- ContentElement.cs
- Cursor.cs
- DataError.cs
- DataObject.cs
- FolderBrowserDialog.cs
- UndirectedGraph.cs
- OracleException.cs
- FilterableAttribute.cs
- RoutedEventHandlerInfo.cs
- TableRow.cs
- DataTableExtensions.cs
- ChangeConflicts.cs
- WebBaseEventKeyComparer.cs
- RandomNumberGenerator.cs
- TransformerTypeCollection.cs
- PerspectiveCamera.cs
- ColorBlend.cs
- versioninfo.cs
- CellQuery.cs
- Sentence.cs
- WorkflowValidationFailedException.cs
- HostingPreferredMapPath.cs
- PrintingPermission.cs
- MetadataUtilsSmi.cs
- ServiceMemoryGates.cs
- COMException.cs