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
- Win32MouseDevice.cs
- BinaryObjectReader.cs
- HostedController.cs
- OpCodes.cs
- XmlSchemaSimpleTypeList.cs
- DataRowComparer.cs
- ErrorHandlerModule.cs
- NumberFunctions.cs
- ClientTargetSection.cs
- WindowsMenu.cs
- LineSegment.cs
- ColorConverter.cs
- LocalsItemDescription.cs
- _UncName.cs
- StringOutput.cs
- ToolStripPanelRenderEventArgs.cs
- BinaryParser.cs
- Timer.cs
- DateTimeFormatInfoScanner.cs
- XmlILModule.cs
- autovalidator.cs
- WorkflowMarkupElementEventArgs.cs
- BCryptNative.cs
- DockPattern.cs
- Scene3D.cs
- Point3DKeyFrameCollection.cs
- MaterialGroup.cs
- SubpageParagraph.cs
- ProfilePropertyNameValidator.cs
- SimpleBitVector32.cs
- ReadOnlyHierarchicalDataSource.cs
- XmlAttributeCollection.cs
- TextMarkerSource.cs
- StandardTransformFactory.cs
- Monitor.cs
- CodeArrayCreateExpression.cs
- InOutArgumentConverter.cs
- AdCreatedEventArgs.cs
- SqlEnums.cs
- XPathNodePointer.cs
- IERequestCache.cs
- DateBoldEvent.cs
- StaticDataManager.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- ObjectViewEntityCollectionData.cs
- ServerReliableChannelBinder.cs
- MulticastDelegate.cs
- ContextQuery.cs
- PropertyConverter.cs
- FontStretchConverter.cs
- X500Name.cs
- ClientTargetSection.cs
- CurrentTimeZone.cs
- CngKey.cs
- BookmarkInfo.cs
- XmlSchemaObject.cs
- AccessibleObject.cs
- FrameworkName.cs
- ColumnMapCopier.cs
- StateMachineHelpers.cs
- DetailsViewRow.cs
- PagesSection.cs
- Style.cs
- ResourceAssociationSet.cs
- ToolStripDropTargetManager.cs
- CdpEqualityComparer.cs
- MultiSelector.cs
- HuffModule.cs
- _FtpDataStream.cs
- VirtualPath.cs
- InputBuffer.cs
- SpotLight.cs
- WebHeaderCollection.cs
- Message.cs
- DataSourceSelectArguments.cs
- BufferAllocator.cs
- LassoSelectionBehavior.cs
- SourceFileInfo.cs
- entitydatasourceentitysetnameconverter.cs
- TableItemProviderWrapper.cs
- Visual3D.cs
- WebPartConnectionsConnectVerb.cs
- UdpTransportSettings.cs
- ResourceExpression.cs
- figurelengthconverter.cs
- XmlUTF8TextReader.cs
- SinglePageViewer.cs
- CompressedStack.cs
- DataSourceCacheDurationConverter.cs
- ServicePoint.cs
- FontFamilyIdentifier.cs
- MatrixTransform.cs
- ExpressionLink.cs
- DataChangedEventManager.cs
- TextDecoration.cs
- DictionaryMarkupSerializer.cs
- TextBoxLine.cs
- Normalization.cs
- ConstructorBuilder.cs
- EventLogPermissionAttribute.cs