Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / ResourceDescriptionAttribute.cs / 1305376 / 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.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StylusSystemGestureEventArgs.cs
- SwitchCase.cs
- TextSegment.cs
- InternalTransaction.cs
- BinaryFormatterWriter.cs
- M3DUtil.cs
- ServiceCredentials.cs
- LoginCancelEventArgs.cs
- PackagePartCollection.cs
- PathFigureCollection.cs
- URIFormatException.cs
- OleDbPermission.cs
- XPathMultyIterator.cs
- ValidationVisibilityAttribute.cs
- SqlUdtInfo.cs
- SecurityUtils.cs
- RenderTargetBitmap.cs
- FakeModelPropertyImpl.cs
- PerformanceCounterManager.cs
- Root.cs
- IdentityHolder.cs
- DataKey.cs
- PartDesigner.cs
- TypeConvertions.cs
- BaseCodeDomTreeGenerator.cs
- MemberProjectionIndex.cs
- X509Chain.cs
- PropertyMetadata.cs
- FontConverter.cs
- HttpException.cs
- GenericAuthenticationEventArgs.cs
- SelectionRange.cs
- AdjustableArrowCap.cs
- InputChannelAcceptor.cs
- SizeAnimationClockResource.cs
- XmlCustomFormatter.cs
- CellRelation.cs
- StrongNamePublicKeyBlob.cs
- WebBrowserBase.cs
- RequestNavigateEventArgs.cs
- UniqueIdentifierService.cs
- DataViewManagerListItemTypeDescriptor.cs
- BackgroundWorker.cs
- Message.cs
- WorkflowDurableInstance.cs
- AuthorizationRuleCollection.cs
- ValidatorCompatibilityHelper.cs
- TemplateBindingExpressionConverter.cs
- OpacityConverter.cs
- PerformanceCounter.cs
- DesignTimeParseData.cs
- X509ChainPolicy.cs
- KeyedHashAlgorithm.cs
- TabItemAutomationPeer.cs
- wgx_commands.cs
- CodeConstructor.cs
- VideoDrawing.cs
- DNS.cs
- ExplicitDiscriminatorMap.cs
- BCLDebug.cs
- SchemaImporterExtension.cs
- FileDialogCustomPlace.cs
- AssemblySettingAttributes.cs
- RequestResponse.cs
- SecurityAccessDeniedException.cs
- DesignTimeTemplateParser.cs
- PeerNameResolver.cs
- AlphaSortedEnumConverter.cs
- StubHelpers.cs
- SmiEventStream.cs
- WizardStepBase.cs
- MetadataCache.cs
- MaskInputRejectedEventArgs.cs
- ControllableStoryboardAction.cs
- DataGridViewComboBoxColumn.cs
- DrawingDrawingContext.cs
- DesigntimeLicenseContextSerializer.cs
- MessageSecurityOverTcp.cs
- TrackingProvider.cs
- WebZone.cs
- SamlSecurityToken.cs
- InvalidDocumentContentsException.cs
- BaseTemplateBuildProvider.cs
- ComplusEndpointConfigContainer.cs
- DesignerRegionCollection.cs
- XmlUtf8RawTextWriter.cs
- TwoPhaseCommit.cs
- WindowsClaimSet.cs
- ISAPIRuntime.cs
- ContainerCodeDomSerializer.cs
- ContainerVisual.cs
- GridViewCellAutomationPeer.cs
- EntityTypeEmitter.cs
- OwnerDrawPropertyBag.cs
- CollectionChangeEventArgs.cs
- TextSelectionHelper.cs
- DeferrableContent.cs
- SmiEventSink_Default.cs
- indexingfiltermarshaler.cs
- ContractTypeNameCollection.cs