Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GroupItemAutomationPeer.cs
- GradientBrush.cs
- DataGridColumnHeaderCollection.cs
- Point3D.cs
- XslException.cs
- InputMethodStateTypeInfo.cs
- Memoizer.cs
- EnumerableRowCollectionExtensions.cs
- SymmetricKeyWrap.cs
- EmptyEnumerator.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- BaseUriHelper.cs
- PublishLicense.cs
- UnauthorizedAccessException.cs
- Style.cs
- HtmlTableRow.cs
- MetabaseReader.cs
- PropertyCollection.cs
- KeyBinding.cs
- XPathDescendantIterator.cs
- FeatureSupport.cs
- OracleRowUpdatedEventArgs.cs
- WebConfigurationHost.cs
- XPathChildIterator.cs
- StorageEntitySetMapping.cs
- NumberFormatInfo.cs
- CmsUtils.cs
- Grant.cs
- ResourceDisplayNameAttribute.cs
- TTSEngineProxy.cs
- Timer.cs
- ManualResetEventSlim.cs
- UnsafeNativeMethods.cs
- ProcessModelSection.cs
- XhtmlBasicLinkAdapter.cs
- AnonymousIdentificationSection.cs
- WorkflowTraceTransfer.cs
- KeyValueConfigurationCollection.cs
- AmbientLight.cs
- DbDataReader.cs
- TreeSet.cs
- ModifiableIteratorCollection.cs
- BamlBinaryWriter.cs
- SelectorAutomationPeer.cs
- Help.cs
- WaitForChangedResult.cs
- InteropBitmapSource.cs
- HtmlFormWrapper.cs
- DependencyObject.cs
- TransformDescriptor.cs
- SettingsPropertyNotFoundException.cs
- CreateRefExpr.cs
- DateTimePickerDesigner.cs
- X509CertificateCollection.cs
- NumericUpDownAcceleration.cs
- RbTree.cs
- ConsoleEntryPoint.cs
- ThemeDictionaryExtension.cs
- Vector3DAnimationUsingKeyFrames.cs
- TreeBuilderXamlTranslator.cs
- ProfileService.cs
- Script.cs
- DbConnectionPoolGroup.cs
- CodeDirectionExpression.cs
- DecodeHelper.cs
- TransportSecurityProtocol.cs
- control.ime.cs
- ModelProperty.cs
- TextBox.cs
- LinqDataSource.cs
- OdbcReferenceCollection.cs
- DataGridViewRowCancelEventArgs.cs
- ValidationError.cs
- SessionEndingEventArgs.cs
- PageStatePersister.cs
- UriScheme.cs
- ErrorActivity.cs
- XPathMultyIterator.cs
- Int16.cs
- Schema.cs
- ColorMatrix.cs
- DrawingContextFlattener.cs
- DataBindingList.cs
- WebBrowserProgressChangedEventHandler.cs
- ComponentEvent.cs
- IdentifierService.cs
- DependencyObjectProvider.cs
- HtmlListAdapter.cs
- SqlAliaser.cs
- PropertyDescriptorCollection.cs
- HostingEnvironment.cs
- HtmlToClrEventProxy.cs
- FixedSOMTableCell.cs
- GeometryDrawing.cs
- SystemWebCachingSectionGroup.cs
- ObjectListFieldsPage.cs
- PageRanges.cs
- XmlSignificantWhitespace.cs
- ClientConfigurationSystem.cs
- GACMembershipCondition.cs