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
- BaseTemplateCodeDomTreeGenerator.cs
- XhtmlBasicLiteralTextAdapter.cs
- DbDataReader.cs
- Attachment.cs
- PeerContact.cs
- TextMarkerSource.cs
- CacheMemory.cs
- BindStream.cs
- ContainerParaClient.cs
- ProfileService.cs
- WindowsStatic.cs
- ExcludeFromCodeCoverageAttribute.cs
- WebBrowsableAttribute.cs
- WebPartDeleteVerb.cs
- LayoutSettings.cs
- ControlSerializer.cs
- BitmapEffect.cs
- ProcessInfo.cs
- DesignerForm.cs
- EditorZoneBase.cs
- UserControlBuildProvider.cs
- KeyedCollection.cs
- UpdateProgress.cs
- EnumConverter.cs
- ColorAnimationUsingKeyFrames.cs
- Quaternion.cs
- GZipDecoder.cs
- storepermissionattribute.cs
- XhtmlBasicControlAdapter.cs
- Internal.cs
- SrgsDocumentParser.cs
- RadioButton.cs
- SafeCryptHandles.cs
- DbMetaDataColumnNames.cs
- IntAverageAggregationOperator.cs
- FixedSOMLineCollection.cs
- WebReferencesBuildProvider.cs
- SerializationSectionGroup.cs
- ValidationRuleCollection.cs
- DependentList.cs
- IndexerNameAttribute.cs
- ResizeGrip.cs
- ExpressionValueEditor.cs
- SqlUtils.cs
- Roles.cs
- XmlSchemaComplexType.cs
- AstNode.cs
- ObservableCollection.cs
- MouseGestureConverter.cs
- SqlCommandBuilder.cs
- BulletedListEventArgs.cs
- NetTcpSection.cs
- HostedTransportConfigurationManager.cs
- ProjectionPruner.cs
- WindowsListViewItem.cs
- LocationReferenceValue.cs
- _NetworkingPerfCounters.cs
- ResourceReferenceExpression.cs
- NamespaceQuery.cs
- RSAOAEPKeyExchangeDeformatter.cs
- FusionWrap.cs
- Win32MouseDevice.cs
- LicenseProviderAttribute.cs
- ToolStripDropDownButton.cs
- BaseAddressElement.cs
- TextEndOfParagraph.cs
- MemoryMappedViewAccessor.cs
- SimpleHandlerBuildProvider.cs
- ListParaClient.cs
- MetadataUtil.cs
- DateRangeEvent.cs
- CommandPlan.cs
- ContentTextAutomationPeer.cs
- TaskFormBase.cs
- XmlQueryStaticData.cs
- PropertyEmitterBase.cs
- SafeSecurityHelper.cs
- OleStrCAMarshaler.cs
- AdapterUtil.cs
- LogicalTreeHelper.cs
- SpellerInterop.cs
- WebAdminConfigurationHelper.cs
- IApplicationTrustManager.cs
- LeafCellTreeNode.cs
- ImportContext.cs
- Figure.cs
- StateDesigner.cs
- NetCodeGroup.cs
- FormViewUpdatedEventArgs.cs
- ReadWriteSpinLock.cs
- SqlUserDefinedTypeAttribute.cs
- CompressedStack.cs
- DocumentPageView.cs
- PropertiesTab.cs
- Int16AnimationUsingKeyFrames.cs
- XPathItem.cs
- JapaneseLunisolarCalendar.cs
- BitmapMetadataEnumerator.cs
- SqlClientFactory.cs
- TypedTableBase.cs