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
- PerformanceCounterPermission.cs
- DesignTimeDataBinding.cs
- ScalarConstant.cs
- PropertyChangedEventManager.cs
- OleDbReferenceCollection.cs
- Single.cs
- EntityViewContainer.cs
- ContextProperty.cs
- SqlInternalConnection.cs
- Win32SafeHandles.cs
- PositiveTimeSpanValidator.cs
- ResolvedKeyFrameEntry.cs
- DomNameTable.cs
- InvokeFunc.cs
- DispatcherExceptionEventArgs.cs
- __Filters.cs
- recordstatescratchpad.cs
- PieceDirectory.cs
- FilterQueryOptionExpression.cs
- ApplicationServicesHostFactory.cs
- RangeBaseAutomationPeer.cs
- GridView.cs
- StaticFileHandler.cs
- XsdValidatingReader.cs
- DataBindingExpressionBuilder.cs
- TypeValidationEventArgs.cs
- Vertex.cs
- Collection.cs
- StandardBindingElement.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- BaseContextMenu.cs
- DependencyPropertyHelper.cs
- Transform3D.cs
- ChangePasswordDesigner.cs
- MasterPageCodeDomTreeGenerator.cs
- XsltException.cs
- _SslSessionsCache.cs
- PenContexts.cs
- TileBrush.cs
- StrokeRenderer.cs
- Matrix3DStack.cs
- RemoteCryptoTokenProvider.cs
- FragmentQueryProcessor.cs
- OrderByQueryOptionExpression.cs
- Switch.cs
- BaseCodePageEncoding.cs
- Type.cs
- BookmarkOptionsHelper.cs
- AutomationPattern.cs
- Italic.cs
- ListItemConverter.cs
- TrackingMemoryStreamFactory.cs
- FontWeightConverter.cs
- ObjectListItemCollection.cs
- TextBox.cs
- NullableConverter.cs
- LicFileLicenseProvider.cs
- MatrixAnimationBase.cs
- NumericUpDownAccelerationCollection.cs
- DesignerActionVerbList.cs
- InstanceData.cs
- UrlMappingsModule.cs
- Adorner.cs
- DataTableMappingCollection.cs
- ImageButton.cs
- ComplusTypeValidator.cs
- InvalidFilterCriteriaException.cs
- InputScopeConverter.cs
- EdgeProfileValidation.cs
- LogPolicy.cs
- TemplateNodeContextMenu.cs
- MaskInputRejectedEventArgs.cs
- RegexWorker.cs
- CookieHandler.cs
- WorkflowWebService.cs
- Light.cs
- IndentedWriter.cs
- CacheChildrenQuery.cs
- HexParser.cs
- RangeBase.cs
- VolatileResourceManager.cs
- HttpServerChannel.cs
- Restrictions.cs
- ResourceExpressionBuilder.cs
- HandlerBase.cs
- NativeRecognizer.cs
- Bitmap.cs
- SecurityCriticalDataForSet.cs
- DesignerHost.cs
- SR.cs
- Rotation3DAnimation.cs
- PointValueSerializer.cs
- RootBuilder.cs
- StatusStrip.cs
- DetailsViewPageEventArgs.cs
- versioninfo.cs
- MetadataPropertyvalue.cs
- filewebresponse.cs
- SHA1.cs
- CompositionAdorner.cs