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
- HwndSourceKeyboardInputSite.cs
- ComponentEditorPage.cs
- Process.cs
- MetadataArtifactLoaderCompositeFile.cs
- XmlSerializerVersionAttribute.cs
- SeekStoryboard.cs
- RouteData.cs
- followingquery.cs
- KeyBinding.cs
- SegmentInfo.cs
- AttributeData.cs
- FreezableOperations.cs
- VisualBrush.cs
- RTLAwareMessageBox.cs
- ParameterDataSourceExpression.cs
- BindingGraph.cs
- Throw.cs
- DataGridState.cs
- XmlSchemaGroupRef.cs
- StrokeCollection.cs
- PropertyItem.cs
- RawStylusInputCustomData.cs
- AstNode.cs
- HttpProcessUtility.cs
- KeySpline.cs
- RadialGradientBrush.cs
- HtmlTableRowCollection.cs
- Matrix3DConverter.cs
- TemplatedWizardStep.cs
- GroupStyle.cs
- DataProtection.cs
- XmlSchemaImporter.cs
- FileFormatException.cs
- COAUTHIDENTITY.cs
- TimeManager.cs
- SystemColors.cs
- WebPageTraceListener.cs
- CombinedTcpChannel.cs
- RuntimeConfigurationRecord.cs
- BufferedReceiveManager.cs
- AxDesigner.cs
- SmtpMail.cs
- CodeObject.cs
- _HeaderInfoTable.cs
- DataGridViewCellStyle.cs
- Table.cs
- FixedPosition.cs
- PrivateFontCollection.cs
- XmlResolver.cs
- DefaultMemberAttribute.cs
- CompositeActivityMarkupSerializer.cs
- ReadOnlyDictionary.cs
- BidirectionalDictionary.cs
- CqlBlock.cs
- Switch.cs
- CodeTypeMemberCollection.cs
- FormattedTextSymbols.cs
- CodeDomComponentSerializationService.cs
- FixedTextBuilder.cs
- OdbcEnvironmentHandle.cs
- ConfigXmlElement.cs
- DynamicILGenerator.cs
- DragSelectionMessageFilter.cs
- StaticDataManager.cs
- InternalsVisibleToAttribute.cs
- Stacktrace.cs
- DataGridViewAccessibleObject.cs
- WindowsGraphicsWrapper.cs
- X509Certificate2.cs
- ComponentChangedEvent.cs
- Context.cs
- BypassElementCollection.cs
- Int64AnimationUsingKeyFrames.cs
- WebServiceReceiveDesigner.cs
- AssemblyNameProxy.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- DesignerView.xaml.cs
- Vector3D.cs
- ContainerParaClient.cs
- RubberbandSelector.cs
- TreeNodeMouseHoverEvent.cs
- Translator.cs
- RawStylusInputCustomDataList.cs
- Identity.cs
- WindowsFormsSectionHandler.cs
- CancelRequestedQuery.cs
- MetadataException.cs
- WindowsStreamSecurityUpgradeProvider.cs
- PasswordRecovery.cs
- Vector3DIndependentAnimationStorage.cs
- ContentPlaceHolderDesigner.cs
- WebPartConnectionsConfigureVerb.cs
- SRef.cs
- PeerInvitationResponse.cs
- ListSourceHelper.cs
- UniformGrid.cs
- WithParamAction.cs
- BuiltInExpr.cs
- messageonlyhwndwrapper.cs
- UnionExpr.cs