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
- NonSerializedAttribute.cs
- VirtualizedCellInfoCollection.cs
- WebPartMinimizeVerb.cs
- TdsParameterSetter.cs
- SiblingIterators.cs
- AutoSizeComboBox.cs
- MonthCalendar.cs
- TextContainer.cs
- XNameTypeConverter.cs
- TextMarkerSource.cs
- PersistencePipeline.cs
- embossbitmapeffect.cs
- SqlCaseSimplifier.cs
- FormsAuthenticationConfiguration.cs
- MembershipPasswordException.cs
- DesignerActionVerbList.cs
- UIElement3DAutomationPeer.cs
- CommandConverter.cs
- fixedPageContentExtractor.cs
- DependencyPropertyHelper.cs
- HttpListenerContext.cs
- ResourceSetExpression.cs
- StreamUpdate.cs
- FacetValueContainer.cs
- wmiprovider.cs
- WebMessageEncoderFactory.cs
- ConnectionStringsExpressionBuilder.cs
- ConstructorNeedsTagAttribute.cs
- ExpressionParser.cs
- DataGridViewDataErrorEventArgs.cs
- NavigationWindowAutomationPeer.cs
- LinkUtilities.cs
- EditorZone.cs
- PageBuildProvider.cs
- X509RecipientCertificateClientElement.cs
- SerializationSectionGroup.cs
- XmlIterators.cs
- StylusButtonCollection.cs
- DefaultTextStore.cs
- ReliableSessionBindingElement.cs
- ConditionalAttribute.cs
- BufferAllocator.cs
- HMACRIPEMD160.cs
- TreeViewDataItemAutomationPeer.cs
- StrongNamePublicKeyBlob.cs
- ContextInformation.cs
- EntityObject.cs
- OleDbParameter.cs
- PrintDialog.cs
- infer.cs
- MemberPath.cs
- RepeaterDesigner.cs
- LayoutInformation.cs
- Dispatcher.cs
- ReadOnlyPropertyMetadata.cs
- oledbmetadatacollectionnames.cs
- _NestedSingleAsyncResult.cs
- UrlParameterWriter.cs
- StringCollectionEditor.cs
- Brush.cs
- ActivityTrace.cs
- StructuredTypeEmitter.cs
- PropertyPathConverter.cs
- ParentQuery.cs
- EntityDataSourceColumn.cs
- CryptographicAttribute.cs
- MailDefinition.cs
- SplineQuaternionKeyFrame.cs
- SmtpClient.cs
- _SSPISessionCache.cs
- HostedTransportConfigurationBase.cs
- TextEffect.cs
- GridEntry.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- NumberFormatter.cs
- XsdBuilder.cs
- RequestCacheValidator.cs
- ScriptingProfileServiceSection.cs
- DesignTimeTemplateParser.cs
- XmlSchemaExporter.cs
- MultiPartWriter.cs
- MeasurementDCInfo.cs
- Operator.cs
- ExpressionContext.cs
- DateTimeParse.cs
- TraceFilter.cs
- webproxy.cs
- DataControlField.cs
- ToolboxComponentsCreatedEventArgs.cs
- URL.cs
- Environment.cs
- UrlAuthorizationModule.cs
- TreeNodeStyle.cs
- Pointer.cs
- control.ime.cs
- SubclassTypeValidatorAttribute.cs
- WindowsRichEditRange.cs
- MarginsConverter.cs
- ColorAnimation.cs
- HttpAsyncResult.cs