Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / WebServicesDescriptionAttribute.cs / 1305376 / WebServicesDescriptionAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Services {
using System;
using System.ComponentModel;
///
///
/// DescriptionAttribute marks a property, event, or extender with a
/// description. Visual designers can display this description when referencing
/// the member.
///
[AttributeUsage(AttributeTargets.All)]
internal class WebServicesDescriptionAttribute : DescriptionAttribute {
private bool replaced = false;
///
///
/// Constructs a new sys description.
///
internal WebServicesDescriptionAttribute(string description) : base(description) {
}
///
///
/// Retrieves the description text.
///
public override string Description {
get {
if (!replaced) {
replaced = true;
DescriptionValue = Res.GetString(base.Description);
}
return base.Description;
}
}
}
}
// 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
- DesignerCategoryAttribute.cs
- CanonicalFormWriter.cs
- Bitmap.cs
- HeaderedContentControl.cs
- ServiceContractGenerator.cs
- Claim.cs
- SqlReferenceCollection.cs
- ScriptResourceHandler.cs
- EmbeddedMailObject.cs
- FixedHyperLink.cs
- FileInfo.cs
- ChameleonKey.cs
- ClosableStream.cs
- SpellCheck.cs
- OverflowException.cs
- ToolStripSystemRenderer.cs
- InternalControlCollection.cs
- AnnotationHighlightLayer.cs
- SynchronizingStream.cs
- EventDescriptor.cs
- DecimalConstantAttribute.cs
- SignerInfo.cs
- BufferedStream.cs
- FontInfo.cs
- AsymmetricCryptoHandle.cs
- NumberSubstitution.cs
- Misc.cs
- IntSecurity.cs
- EditorPartChrome.cs
- AssemblyHelper.cs
- Shared.cs
- PhysicalFontFamily.cs
- TextEvent.cs
- Soap12ServerProtocol.cs
- MarginsConverter.cs
- TagMapInfo.cs
- PrtTicket_Public_Simple.cs
- _HeaderInfoTable.cs
- TextRunCache.cs
- ReceiveMessageRecord.cs
- ToolStripProgressBar.cs
- CodeCommentStatement.cs
- XmlReaderSettings.cs
- DataControlImageButton.cs
- VisualBrush.cs
- StyleSheetRefUrlEditor.cs
- EncoderParameters.cs
- ObjectAssociationEndMapping.cs
- FileUtil.cs
- DocumentApplication.cs
- ScriptResourceHandler.cs
- RtfToXamlReader.cs
- SingleAnimationUsingKeyFrames.cs
- PropertyEmitter.cs
- MatchAttribute.cs
- GetTokenRequest.cs
- PolicyManager.cs
- InternalConfigConfigurationFactory.cs
- UpdateExpressionVisitor.cs
- ConditionalAttribute.cs
- Classification.cs
- DriveInfo.cs
- Point.cs
- PackWebResponse.cs
- ConfigurationManagerInternalFactory.cs
- GeometryModel3D.cs
- StateItem.cs
- CompositeControlDesigner.cs
- TextEditor.cs
- ZoneLinkButton.cs
- LinkConverter.cs
- ProxyAttribute.cs
- METAHEADER.cs
- _DisconnectOverlappedAsyncResult.cs
- DefaultParameterValueAttribute.cs
- CrossAppDomainChannel.cs
- VirtualPathUtility.cs
- WbemProvider.cs
- MailSettingsSection.cs
- Win32SafeHandles.cs
- SizeChangedInfo.cs
- FormViewInsertedEventArgs.cs
- DesignerOptionService.cs
- ConstNode.cs
- SynchronizedInputPattern.cs
- WebRequest.cs
- ConfigXmlWhitespace.cs
- RepeaterCommandEventArgs.cs
- AnnotationObservableCollection.cs
- HMAC.cs
- AVElementHelper.cs
- TabControlDesigner.cs
- _OSSOCK.cs
- CreateUserWizardStep.cs
- StateDesignerConnector.cs
- BamlVersionHeader.cs
- WebScriptMetadataInstanceContextProvider.cs
- DesignOnlyAttribute.cs
- TemplatePropertyEntry.cs
- Parameter.cs