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
- OdbcConnection.cs
- HtmlShimManager.cs
- IconBitmapDecoder.cs
- HtmlUtf8RawTextWriter.cs
- WorkflowItemsPresenter.cs
- Overlapped.cs
- cookieexception.cs
- XmlElementList.cs
- DataGridViewDataConnection.cs
- ExternalFile.cs
- IgnoreFileBuildProvider.cs
- XamlPoint3DCollectionSerializer.cs
- StructuredTypeInfo.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- FormsAuthenticationEventArgs.cs
- RelOps.cs
- RectangleGeometry.cs
- CssTextWriter.cs
- BigInt.cs
- SqlHelper.cs
- SqlUserDefinedTypeAttribute.cs
- NavigationWindow.cs
- BindingOperations.cs
- WebBrowserUriTypeConverter.cs
- infer.cs
- XmlDocument.cs
- PropertyValueUIItem.cs
- ArgumentValue.cs
- EditorReuseAttribute.cs
- PrePrepareMethodAttribute.cs
- InputLanguageEventArgs.cs
- CssTextWriter.cs
- TimelineGroup.cs
- PublisherIdentityPermission.cs
- DesignRelation.cs
- FormattedTextSymbols.cs
- SecurityPermission.cs
- ObjectQueryExecutionPlan.cs
- MergeExecutor.cs
- AudioBase.cs
- RepeatBehavior.cs
- EventLogTraceListener.cs
- BufferedGraphics.cs
- AsyncOperation.cs
- JsonSerializer.cs
- IPEndPoint.cs
- ProfileSettingsCollection.cs
- ToolStripOverflow.cs
- CompositeDataBoundControl.cs
- ExternalException.cs
- LoginName.cs
- SubMenuStyleCollection.cs
- PropertyGroupDescription.cs
- TextSpan.cs
- FieldToken.cs
- OrderByQueryOptionExpression.cs
- BitmapEffectInput.cs
- HtmlInputSubmit.cs
- DataGridViewRowPostPaintEventArgs.cs
- ColumnResult.cs
- SSmlParser.cs
- FacetValues.cs
- ApplicationDirectory.cs
- TypeInfo.cs
- CapacityStreamGeometryContext.cs
- ThousandthOfEmRealDoubles.cs
- DataColumnPropertyDescriptor.cs
- SqlCommand.cs
- PersistenceProviderBehavior.cs
- DESCryptoServiceProvider.cs
- ReadOnlyHierarchicalDataSource.cs
- EditingCoordinator.cs
- SchemaCollectionCompiler.cs
- HotSpotCollection.cs
- IImplicitResourceProvider.cs
- SmtpDateTime.cs
- WebPartMenuStyle.cs
- Privilege.cs
- webclient.cs
- XPathBinder.cs
- CrossContextChannel.cs
- StorageEntitySetMapping.cs
- TrackingLocationCollection.cs
- EntityWithKeyStrategy.cs
- PasswordPropertyTextAttribute.cs
- SecurityBindingElementImporter.cs
- DateTimeEditor.cs
- DataKeyArray.cs
- DataGridViewCheckBoxColumn.cs
- SqlErrorCollection.cs
- IdleTimeoutMonitor.cs
- BaseConfigurationRecord.cs
- Ticks.cs
- LambdaCompiler.ControlFlow.cs
- WebPartUserCapability.cs
- HttpProfileBase.cs
- StyleSelector.cs
- SignatureHelper.cs
- DataRowChangeEvent.cs
- RTTrackingProfile.cs