Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / TypeDescriptionProviderAttribute.cs / 1305376 / 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
- StringUtil.cs
- CursorConverter.cs
- GridView.cs
- AuthenticationModuleElement.cs
- Frame.cs
- Funcletizer.cs
- ObjectStateEntry.cs
- AnimationTimeline.cs
- BaseCodeDomTreeGenerator.cs
- CodeExpressionRuleDeclaration.cs
- SelectionHighlightInfo.cs
- DbProviderFactory.cs
- MethodResolver.cs
- TagPrefixInfo.cs
- ExtractorMetadata.cs
- TcpTransportElement.cs
- UnionCodeGroup.cs
- _RequestCacheProtocol.cs
- RoutedEventConverter.cs
- CodeSpit.cs
- ToolboxItemAttribute.cs
- CodeRegionDirective.cs
- Lasso.cs
- XpsS0ValidatingLoader.cs
- Symbol.cs
- sqlpipe.cs
- ControlPager.cs
- MarkupObject.cs
- ResourceDictionaryCollection.cs
- FunctionImportElement.cs
- TemplateControlParser.cs
- ToolStripGrip.cs
- ObjectStateFormatter.cs
- HotSpotCollection.cs
- UpdateRecord.cs
- ExitEventArgs.cs
- ConnectionManagementElementCollection.cs
- ConvertEvent.cs
- Filter.cs
- ButtonChrome.cs
- StyleTypedPropertyAttribute.cs
- MarshalByValueComponent.cs
- DocumentViewerHelper.cs
- MemoryRecordBuffer.cs
- SimpleHandlerBuildProvider.cs
- HMACSHA256.cs
- Win32Native.cs
- FieldInfo.cs
- PointKeyFrameCollection.cs
- SourceLocationProvider.cs
- LongValidatorAttribute.cs
- WebPartDeleteVerb.cs
- HandlerElementCollection.cs
- RoleServiceManager.cs
- ProfileGroupSettingsCollection.cs
- WorkflowValidationFailedException.cs
- DataGrid.cs
- DatePickerAutomationPeer.cs
- SelectionWordBreaker.cs
- ProjectionPathSegment.cs
- FormsAuthenticationTicket.cs
- RegexFCD.cs
- DataGrid.cs
- UpWmlMobileTextWriter.cs
- ZipFileInfoCollection.cs
- X509Certificate2Collection.cs
- SmtpFailedRecipientException.cs
- PersonalizationEntry.cs
- ConfigPathUtility.cs
- WinFormsUtils.cs
- XPathNode.cs
- GridProviderWrapper.cs
- DotExpr.cs
- mediaclock.cs
- HtmlInputControl.cs
- ClientRoleProvider.cs
- SqlBuilder.cs
- externdll.cs
- BinaryObjectInfo.cs
- BitmapCacheBrush.cs
- ConfigurationManagerHelperFactory.cs
- ObfuscationAttribute.cs
- RemotingServices.cs
- LineServices.cs
- FrameworkTemplate.cs
- DataKeyCollection.cs
- InnerItemCollectionView.cs
- SymmetricAlgorithm.cs
- Matrix.cs
- PropertyTabAttribute.cs
- ProtocolProfile.cs
- TextPointer.cs
- SmtpDigestAuthenticationModule.cs
- PagePropertiesChangingEventArgs.cs
- ExtensionFile.cs
- RemotingSurrogateSelector.cs
- CodePageUtils.cs
- Baml2006SchemaContext.cs
- MenuBase.cs
- SemaphoreFullException.cs