Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ClientUriBehavior.cs
- TextSegment.cs
- ProtocolsSection.cs
- HtmlLiteralTextAdapter.cs
- WeakReference.cs
- CompilerState.cs
- SafeLocalAllocation.cs
- TableLayout.cs
- DataTable.cs
- HtmlEncodedRawTextWriter.cs
- DrawingCollection.cs
- NavigationWindowAutomationPeer.cs
- HtmlInputCheckBox.cs
- PropertyPath.cs
- DependencyObjectType.cs
- EnterpriseServicesHelper.cs
- InfoCardListRequest.cs
- TakeOrSkipQueryOperator.cs
- FormDesigner.cs
- FontFamilyConverter.cs
- WriteStateInfoBase.cs
- MethodInfo.cs
- SkewTransform.cs
- DeobfuscatingStream.cs
- BuildProvider.cs
- NumberFormatInfo.cs
- _TransmitFileOverlappedAsyncResult.cs
- DispatcherProcessingDisabled.cs
- WorkflowCommandExtensionItem.cs
- UIElementParaClient.cs
- KeyValueConfigurationCollection.cs
- TraversalRequest.cs
- FormsAuthenticationCredentials.cs
- PersistenceMetadataNamespace.cs
- Thread.cs
- ReadContentAsBinaryHelper.cs
- IgnoreSectionHandler.cs
- DataConnectionHelper.cs
- XappLauncher.cs
- XmlKeywords.cs
- CharacterMetrics.cs
- ProcessHostServerConfig.cs
- InternalEnumValidatorAttribute.cs
- PngBitmapDecoder.cs
- PerformanceCounterManager.cs
- DecoderFallback.cs
- Vector3DCollectionValueSerializer.cs
- SafeArrayRankMismatchException.cs
- PositiveTimeSpanValidatorAttribute.cs
- SecurityListenerSettingsLifetimeManager.cs
- UniqueIdentifierService.cs
- SmiRequestExecutor.cs
- TraceSource.cs
- VerticalAlignConverter.cs
- ObjectTypeMapping.cs
- LabelEditEvent.cs
- DataError.cs
- Image.cs
- BaseCollection.cs
- SqlCacheDependencySection.cs
- BufferBuilder.cs
- DateTimeStorage.cs
- shaperfactoryquerycachekey.cs
- ConstraintManager.cs
- MessageOperationFormatter.cs
- BasicHttpMessageSecurity.cs
- ExtendedProperty.cs
- ConfigurationCollectionAttribute.cs
- ColumnResult.cs
- LoadRetryStrategyFactory.cs
- ToolStripContentPanel.cs
- TextPointer.cs
- SpecialFolderEnumConverter.cs
- ISAPIRuntime.cs
- SiteMapNodeCollection.cs
- FormCollection.cs
- WebServiceResponse.cs
- QueryStringConverter.cs
- SchemaEntity.cs
- LogRestartAreaEnumerator.cs
- FilterElement.cs
- GeometryCollection.cs
- MetadataUtil.cs
- VerifyHashRequest.cs
- NamespaceMapping.cs
- LoginUtil.cs
- ControlTemplate.cs
- MemberDomainMap.cs
- SiteIdentityPermission.cs
- _NegotiateClient.cs
- XmlNamedNodeMap.cs
- FolderBrowserDialog.cs
- CryptoHelper.cs
- UndoManager.cs
- HitTestResult.cs
- ProviderBase.cs
- ElementProxy.cs
- CharAnimationBase.cs
- CachedRequestParams.cs
- GridViewAutoFormat.cs