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
- RegexCode.cs
- TraceFilter.cs
- SpecularMaterial.cs
- SymbolMethod.cs
- RepeaterItemCollection.cs
- TextRangeEditTables.cs
- GradientStopCollection.cs
- ManagedIStream.cs
- FixedTextContainer.cs
- GenerateHelper.cs
- NavigationPropertySingletonExpression.cs
- COM2PropertyDescriptor.cs
- EdmError.cs
- HttpListener.cs
- WindowsBrush.cs
- SqlDataReader.cs
- TemplatedMailWebEventProvider.cs
- DetailsViewCommandEventArgs.cs
- DetailsView.cs
- CroppedBitmap.cs
- URLBuilder.cs
- PermissionListSet.cs
- X509ChainPolicy.cs
- TextFormatterContext.cs
- ConfigXmlElement.cs
- Point3DAnimationBase.cs
- BinaryCommonClasses.cs
- ECDiffieHellmanCng.cs
- DetailsViewUpdateEventArgs.cs
- DataGridCommandEventArgs.cs
- CompareValidator.cs
- SimpleWebHandlerParser.cs
- CngAlgorithmGroup.cs
- ClusterRegistryConfigurationProvider.cs
- CompoundFileStorageReference.cs
- ButtonField.cs
- PersistenceMetadataNamespace.cs
- ListBase.cs
- KeysConverter.cs
- CollectionViewGroupInternal.cs
- XmlSchemaSimpleTypeList.cs
- BrowserPolicyValidator.cs
- UserPersonalizationStateInfo.cs
- BinaryMessageEncoder.cs
- PointLightBase.cs
- TreeViewImageKeyConverter.cs
- ElementNotAvailableException.cs
- XmlSerializer.cs
- SqlBinder.cs
- DataSet.cs
- ComponentFactoryHelpers.cs
- versioninfo.cs
- XmlTextReader.cs
- CodeAccessSecurityEngine.cs
- SessionPageStateSection.cs
- SignedPkcs7.cs
- XmlSchemaComplexContent.cs
- DesignTimeParseData.cs
- MachineKeySection.cs
- BufferedGraphicsManager.cs
- xmlfixedPageInfo.cs
- SecurityDocument.cs
- WebControlsSection.cs
- PriorityQueue.cs
- DataPagerFieldCommandEventArgs.cs
- NameValuePair.cs
- InkSerializer.cs
- IdentityReference.cs
- CodeConstructor.cs
- WebServiceData.cs
- EncryptedPackageFilter.cs
- CheckBox.cs
- InfoCardBaseException.cs
- WindowsPen.cs
- XmlObjectSerializerReadContextComplex.cs
- SqlRowUpdatedEvent.cs
- SchemaNotation.cs
- TaskForm.cs
- ContentHostHelper.cs
- IMembershipProvider.cs
- InputQueue.cs
- StringUtil.cs
- PasswordRecovery.cs
- BitStream.cs
- ColorMap.cs
- DocumentPage.cs
- SynchronizationFilter.cs
- FilePrompt.cs
- TypeBrowser.xaml.cs
- ImageAttributes.cs
- ParseHttpDate.cs
- DesignerSerializerAttribute.cs
- WebPartCatalogCloseVerb.cs
- WeakReferenceEnumerator.cs
- WebPartConnectionsCancelEventArgs.cs
- BrowserCapabilitiesCompiler.cs
- Italic.cs
- Pkcs9Attribute.cs
- FormViewRow.cs
- XamlHostingSection.cs