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
- TextDecorationUnitValidation.cs
- Font.cs
- HttpPostedFile.cs
- ProxySimple.cs
- DefaultObjectMappingItemCollection.cs
- FormView.cs
- ConfigsHelper.cs
- RoleGroupCollection.cs
- StylusLogic.cs
- MetadataItemCollectionFactory.cs
- ConfigXmlAttribute.cs
- UserControl.cs
- smtppermission.cs
- DynamicPropertyHolder.cs
- TableLayoutRowStyleCollection.cs
- Transform3DGroup.cs
- NativeMethods.cs
- SharedPersonalizationStateInfo.cs
- SqlMetaData.cs
- TableLayoutPanelCellPosition.cs
- DiscardableAttribute.cs
- ExpandSegment.cs
- SqlDependency.cs
- XmlSchemaChoice.cs
- XmlSchemaInclude.cs
- ManagedFilter.cs
- Lease.cs
- PresentationTraceSources.cs
- RepeaterItemCollection.cs
- PageParser.cs
- EntityDesignerDataSourceView.cs
- SqlLiftWhereClauses.cs
- EDesignUtil.cs
- SiteMapSection.cs
- StylusPointCollection.cs
- BoolExpr.cs
- BitmapPalettes.cs
- PublisherIdentityPermission.cs
- MessageQueueAccessControlEntry.cs
- CompressEmulationStream.cs
- TabControlAutomationPeer.cs
- HttpContext.cs
- DateTimeUtil.cs
- IdentityReference.cs
- EmissiveMaterial.cs
- Point4DConverter.cs
- Delegate.cs
- WebAdminConfigurationHelper.cs
- Content.cs
- Size.cs
- CodeNamespaceImportCollection.cs
- CatalogPart.cs
- KeyPullup.cs
- ViewUtilities.cs
- ServicesExceptionNotHandledEventArgs.cs
- EntityProviderServices.cs
- pingexception.cs
- Stacktrace.cs
- ImageFormatConverter.cs
- _ListenerResponseStream.cs
- DataPagerFieldCollection.cs
- Size.cs
- XamlTypeMapper.cs
- PropertyDescriptorGridEntry.cs
- HyperLinkStyle.cs
- DebugInfoGenerator.cs
- BrowserInteropHelper.cs
- PermissionSetEnumerator.cs
- PrinterResolution.cs
- InvokePatternIdentifiers.cs
- CodeDefaultValueExpression.cs
- OptionUsage.cs
- SortedDictionary.cs
- FixedSOMTextRun.cs
- ValidationHelper.cs
- DocumentCollection.cs
- XPathNavigatorReader.cs
- PackageDigitalSignatureManager.cs
- HttpResponseHeader.cs
- ProtectedConfigurationSection.cs
- QilIterator.cs
- TextAdaptor.cs
- BindingSource.cs
- filewebresponse.cs
- BindingsCollection.cs
- PropertyTabChangedEvent.cs
- Authorization.cs
- UpDownEvent.cs
- ReferentialConstraint.cs
- EntityClientCacheKey.cs
- GcHandle.cs
- ToolStripLocationCancelEventArgs.cs
- IISMapPath.cs
- InternalConfigEventArgs.cs
- PeerNameRecordCollection.cs
- SHA512.cs
- HttpCacheParams.cs
- QueuePathDialog.cs
- GraphicsPath.cs
- LinkDescriptor.cs