Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- unsafeIndexingFilterStream.cs
- AttachedProperty.cs
- ContentPlaceHolder.cs
- SqlServer2KCompatibilityCheck.cs
- ZipIOFileItemStream.cs
- BinaryObjectReader.cs
- ModifiableIteratorCollection.cs
- DataViewManager.cs
- NativeMethods.cs
- ButtonColumn.cs
- Panel.cs
- Win32Exception.cs
- BuildProvidersCompiler.cs
- cryptoapiTransform.cs
- Claim.cs
- WindowsGraphicsWrapper.cs
- PenCursorManager.cs
- ConfigurationManagerHelperFactory.cs
- WebPartActionVerb.cs
- CodeTypeParameterCollection.cs
- ADMembershipUser.cs
- ObservableCollection.cs
- MobileErrorInfo.cs
- LoginUtil.cs
- WebServiceData.cs
- login.cs
- PasswordTextContainer.cs
- KnownIds.cs
- HttpTransportSecurityElement.cs
- DetailsViewModeEventArgs.cs
- GroupBox.cs
- XmlSchemaSequence.cs
- InvalidWorkflowException.cs
- TreeBuilderBamlTranslator.cs
- TextContainerHelper.cs
- PasswordPropertyTextAttribute.cs
- CqlParser.cs
- XmlSignificantWhitespace.cs
- ExceptionHelpers.cs
- SymLanguageType.cs
- BamlResourceSerializer.cs
- BindingsCollection.cs
- WorkflowDefinitionDispenser.cs
- Scripts.cs
- TransactionScope.cs
- TypeConverterMarkupExtension.cs
- BitmapDecoder.cs
- PTConverter.cs
- AnnotationObservableCollection.cs
- DataFormats.cs
- WhiteSpaceTrimStringConverter.cs
- DefaultObjectSerializer.cs
- QilName.cs
- TableRowGroupCollection.cs
- NavigationProperty.cs
- ComponentFactoryHelpers.cs
- RegularExpressionValidator.cs
- HandleExceptionArgs.cs
- DataGridTable.cs
- ConvertersCollection.cs
- TemplatedWizardStep.cs
- ScriptResourceInfo.cs
- TaiwanLunisolarCalendar.cs
- ScriptServiceAttribute.cs
- X509IssuerSerialKeyIdentifierClause.cs
- ControlPropertyNameConverter.cs
- TemplatePropertyEntry.cs
- Matrix3DStack.cs
- RuntimeEnvironment.cs
- ZipIOLocalFileBlock.cs
- PointUtil.cs
- LiteralText.cs
- DataGridTableCollection.cs
- securestring.cs
- LookupNode.cs
- IssuedSecurityTokenParameters.cs
- QueueProcessor.cs
- TextTreeUndoUnit.cs
- IdentitySection.cs
- AsyncPostBackTrigger.cs
- XmlNodeChangedEventArgs.cs
- ObjectCloneHelper.cs
- WindowsGraphics2.cs
- List.cs
- WebBrowserHelper.cs
- ArrayList.cs
- Pkcs9Attribute.cs
- OneWayChannelFactory.cs
- MsmqHostedTransportConfiguration.cs
- IntegerValidatorAttribute.cs
- ProcessHostMapPath.cs
- MembershipPasswordException.cs
- TableItemPattern.cs
- HttpRequestWrapper.cs
- LassoSelectionBehavior.cs
- DrawingGroup.cs
- FlowDocumentPaginator.cs
- ClipboardData.cs
- ChangeInterceptorAttribute.cs
- ErasingStroke.cs