Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / ui / ResourceDescriptionAttribute.cs / 1 / ResourceDescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.ComponentModel; using System.Reflection; using System.Web.Resources; [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Event, Inherited = true, AllowMultiple = false)] internal sealed class ResourceDescriptionAttribute : DescriptionAttribute { private bool _resourceLoaded; private readonly string _descriptionResourceName; public ResourceDescriptionAttribute(string descriptionResourceName) { _descriptionResourceName = descriptionResourceName; } public override string Description { get { if (!_resourceLoaded) { _resourceLoaded = true; DescriptionValue = AtlasWeb.ResourceManager.GetString(_descriptionResourceName, AtlasWeb.Culture); } return base.Description; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSignatureManifest.cs
- FormatConvertedBitmap.cs
- WindowsListViewGroupSubsetLink.cs
- MarkupProperty.cs
- RSAOAEPKeyExchangeFormatter.cs
- HtmlButton.cs
- NameValueConfigurationCollection.cs
- StyleTypedPropertyAttribute.cs
- DESCryptoServiceProvider.cs
- StringReader.cs
- EmbeddedMailObjectCollectionEditor.cs
- _NetRes.cs
- RawContentTypeMapper.cs
- HandledEventArgs.cs
- DataRowComparer.cs
- TargetInvocationException.cs
- X509Extension.cs
- ViewPort3D.cs
- ToolboxItemFilterAttribute.cs
- WmlLabelAdapter.cs
- ItemsPanelTemplate.cs
- DocumentOrderQuery.cs
- AdCreatedEventArgs.cs
- NavigationService.cs
- DataGridViewTextBoxColumn.cs
- ProfileService.cs
- Camera.cs
- TransformerConfigurationWizardBase.cs
- TextBoxDesigner.cs
- LocalizableAttribute.cs
- TypeConvertions.cs
- XamlReaderHelper.cs
- DbConnectionPool.cs
- HTMLTagNameToTypeMapper.cs
- SponsorHelper.cs
- TcpTransportManager.cs
- ApplicationInfo.cs
- Visual3D.cs
- QilName.cs
- SendMailErrorEventArgs.cs
- KeyGestureValueSerializer.cs
- RegistrationServices.cs
- GestureRecognitionResult.cs
- WebEvents.cs
- TerminatorSinks.cs
- WindowsToolbarItemAsMenuItem.cs
- _FtpControlStream.cs
- HttpClientCertificate.cs
- EventTrigger.cs
- ListMarkerLine.cs
- XmlSerializerFactory.cs
- XNodeValidator.cs
- IconConverter.cs
- TextRunProperties.cs
- DoubleCollection.cs
- SystemInfo.cs
- InkCollectionBehavior.cs
- UntrustedRecipientException.cs
- ProviderConnectionPointCollection.cs
- StatusStrip.cs
- InlineCollection.cs
- ToolStripPanelCell.cs
- UrlPropertyAttribute.cs
- BamlCollectionHolder.cs
- ControlParameter.cs
- XsltOutput.cs
- Range.cs
- XmlWriterTraceListener.cs
- MetadataCacheItem.cs
- DataControlFieldCollection.cs
- EditorAttribute.cs
- SchemaLookupTable.cs
- Convert.cs
- MaskInputRejectedEventArgs.cs
- Facet.cs
- BindingManagerDataErrorEventArgs.cs
- CollectionBuilder.cs
- LinearKeyFrames.cs
- ReadOnlyCollection.cs
- Light.cs
- SQLByte.cs
- RuntimeHandles.cs
- DataObjectPastingEventArgs.cs
- UnauthorizedWebPart.cs
- StorageMappingItemLoader.cs
- CustomSignedXml.cs
- TextAction.cs
- DirectoryRedirect.cs
- SqlFileStream.cs
- ObjectStateManager.cs
- DataServiceQueryOfT.cs
- NumberFunctions.cs
- ForceCopyBuildProvider.cs
- TimeStampChecker.cs
- DocumentPaginator.cs
- NativeRecognizer.cs
- PermissionToken.cs
- DataViewManagerListItemTypeDescriptor.cs
- IgnoreFlushAndCloseStream.cs
- SQLDateTimeStorage.cs