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
- ImportContext.cs
- FacetDescriptionElement.cs
- ResourceType.cs
- NativeMethods.cs
- EventPropertyMap.cs
- PreProcessInputEventArgs.cs
- SQlBooleanStorage.cs
- ResourceDescriptionAttribute.cs
- Crc32Helper.cs
- AsymmetricKeyExchangeFormatter.cs
- DataObjectPastingEventArgs.cs
- FirstQueryOperator.cs
- Latin1Encoding.cs
- ConfigXmlSignificantWhitespace.cs
- StrokeDescriptor.cs
- _ListenerAsyncResult.cs
- ObjectComplexPropertyMapping.cs
- PagerSettings.cs
- VectorKeyFrameCollection.cs
- XsdCachingReader.cs
- RadioButtonStandardAdapter.cs
- SspiSecurityTokenParameters.cs
- RuntimeWrappedException.cs
- SettingsAttributeDictionary.cs
- SRDisplayNameAttribute.cs
- RtfToXamlLexer.cs
- ProxyFragment.cs
- ProfileParameter.cs
- SqlDependencyUtils.cs
- SafePEFileHandle.cs
- ColumnClickEvent.cs
- PropertyCollection.cs
- RangeEnumerable.cs
- IISUnsafeMethods.cs
- CompilerState.cs
- Stackframe.cs
- DataControlFieldCollection.cs
- DictionaryManager.cs
- StreamGeometry.cs
- TimeZoneInfo.cs
- ConvertEvent.cs
- ImageBrush.cs
- ContextQuery.cs
- ManipulationPivot.cs
- CustomServiceCredentials.cs
- Transaction.cs
- CFStream.cs
- DefaultTextStore.cs
- LineBreak.cs
- FileRecordSequence.cs
- SiteIdentityPermission.cs
- PackagingUtilities.cs
- FocusManager.cs
- WindowsGraphicsCacheManager.cs
- lengthconverter.cs
- SqlFlattener.cs
- IisNotInstalledException.cs
- CustomPopupPlacement.cs
- EllipticalNodeOperations.cs
- SendKeys.cs
- MenuEventArgs.cs
- DeclarationUpdate.cs
- ListCommandEventArgs.cs
- SpecialNameAttribute.cs
- Visitor.cs
- FocusTracker.cs
- Atom10FeedFormatter.cs
- ExpressionBinding.cs
- Trigger.cs
- TransformValueSerializer.cs
- CmsUtils.cs
- ToolZone.cs
- DataColumnMapping.cs
- ConstNode.cs
- _FtpControlStream.cs
- InheritanceContextChangedEventManager.cs
- ExtendedProtectionPolicy.cs
- SQLStringStorage.cs
- ContextStaticAttribute.cs
- RemoteDebugger.cs
- IdleTimeoutMonitor.cs
- XmlReflectionMember.cs
- RectAnimationClockResource.cs
- GroupItemAutomationPeer.cs
- TreeNode.cs
- XmlRootAttribute.cs
- TableDetailsCollection.cs
- ListDataHelper.cs
- Line.cs
- OneOfScalarConst.cs
- InputDevice.cs
- TimelineGroup.cs
- JsonServiceDocumentSerializer.cs
- WindowsTab.cs
- EventMappingSettingsCollection.cs
- ReferencedCollectionType.cs
- InheritablePropertyChangeInfo.cs
- ExpressionLexer.cs
- LambdaCompiler.Lambda.cs
- DesignTimeTemplateParser.cs