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
- KoreanCalendar.cs
- _SSPIWrapper.cs
- URL.cs
- HtmlEncodedRawTextWriter.cs
- TemplatedAdorner.cs
- StaticContext.cs
- TransformProviderWrapper.cs
- EntityDataSourceConfigureObjectContext.cs
- SinglePageViewer.cs
- BamlMapTable.cs
- DocumentXPathNavigator.cs
- ObjectConverter.cs
- SetterBaseCollection.cs
- DoWorkEventArgs.cs
- DataGridCaption.cs
- XmlTypeAttribute.cs
- SQLByte.cs
- HMACSHA512.cs
- Wildcard.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- StreamGeometry.cs
- RepeaterCommandEventArgs.cs
- XMLSyntaxException.cs
- pingexception.cs
- MergablePropertyAttribute.cs
- TryLoadRunnableWorkflowCommand.cs
- ToolStripRendererSwitcher.cs
- ConstNode.cs
- LocatorGroup.cs
- X509Utils.cs
- IssuedTokenClientElement.cs
- WindowsListViewGroup.cs
- ICollection.cs
- HtmlTableRowCollection.cs
- ToolStripButton.cs
- QuaternionValueSerializer.cs
- DocumentEventArgs.cs
- ClickablePoint.cs
- HttpCacheVary.cs
- DataRowCollection.cs
- AnimationTimeline.cs
- DesignerLinkAdapter.cs
- KeyValuePairs.cs
- Pkcs9Attribute.cs
- XPathNodeInfoAtom.cs
- FontWeights.cs
- ComponentDispatcherThread.cs
- WS2007HttpBinding.cs
- AnimatedTypeHelpers.cs
- CDSsyncETWBCLProvider.cs
- TreeNodeConverter.cs
- X509Chain.cs
- EventMappingSettingsCollection.cs
- MarkupExtensionReturnTypeAttribute.cs
- RuleProcessor.cs
- TdsParameterSetter.cs
- SiteMapSection.cs
- InputProcessorProfilesLoader.cs
- ReferentialConstraintRoleElement.cs
- DbProviderFactories.cs
- InputLanguageSource.cs
- AddInActivator.cs
- DataGridCellItemAutomationPeer.cs
- PermissionSetTriple.cs
- MatrixTransform.cs
- HttpListenerRequest.cs
- InputScopeNameConverter.cs
- HostProtectionPermission.cs
- OleDbException.cs
- RuntimeArgumentHandle.cs
- HotCommands.cs
- ISAPIRuntime.cs
- Configuration.cs
- TextBoxAutomationPeer.cs
- ValidationError.cs
- SweepDirectionValidation.cs
- CodeParameterDeclarationExpression.cs
- FormParameter.cs
- RuntimeConfig.cs
- Array.cs
- CodeSpit.cs
- FrameDimension.cs
- DesignerProperties.cs
- Overlapped.cs
- SymmetricAlgorithm.cs
- _UncName.cs
- DesignerTransactionCloseEvent.cs
- DataSetMappper.cs
- QilBinary.cs
- RectAnimation.cs
- HwndSource.cs
- PrintPreviewDialog.cs
- Panel.cs
- QueryOptionExpression.cs
- EventLogTraceListener.cs
- filewebresponse.cs
- BindingGroup.cs
- CombinedGeometry.cs
- ListViewTableRow.cs
- DataGridViewTextBoxCell.cs