Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- TouchesOverProperty.cs
- ArcSegment.cs
- ReferenceEqualityComparer.cs
- AssemblyNameProxy.cs
- ExpressionList.cs
- UnsafeNetInfoNativeMethods.cs
- _emptywebproxy.cs
- WebReferenceOptions.cs
- ClientFormsIdentity.cs
- ComplusEndpointConfigContainer.cs
- CaseInsensitiveOrdinalStringComparer.cs
- MimeParameters.cs
- EntityContainer.cs
- ClientSettingsProvider.cs
- BufferedReadStream.cs
- ColumnWidthChangingEvent.cs
- SqlColumnizer.cs
- SecurityRuntime.cs
- Quaternion.cs
- WorkflowInstanceTerminatedRecord.cs
- TcpStreams.cs
- TemplateControl.cs
- ExpressionVisitor.cs
- ClientRuntimeConfig.cs
- BufferedOutputStream.cs
- WebAdminConfigurationHelper.cs
- StoreItemCollection.Loader.cs
- BinaryConverter.cs
- DbParameterCollectionHelper.cs
- SqlTypeSystemProvider.cs
- BrowserCapabilitiesFactoryBase.cs
- DataObjectAttribute.cs
- SvcMapFileSerializer.cs
- Transactions.cs
- PropertyGroupDescription.cs
- IFlowDocumentViewer.cs
- XmlBinaryReader.cs
- TransformConverter.cs
- CodeExporter.cs
- SchemaImporterExtensionElementCollection.cs
- Single.cs
- GridViewDeletedEventArgs.cs
- SafePEFileHandle.cs
- DrawingImage.cs
- ItemAutomationPeer.cs
- UiaCoreApi.cs
- RuntimeIdentifierPropertyAttribute.cs
- DomNameTable.cs
- XPathNodeHelper.cs
- ICollection.cs
- RotateTransform.cs
- MetadataPropertyCollection.cs
- TimersDescriptionAttribute.cs
- ReversePositionQuery.cs
- SqlXml.cs
- EmptyStringExpandableObjectConverter.cs
- TabletDeviceInfo.cs
- TableCellsCollectionEditor.cs
- BindingSource.cs
- InputLanguageCollection.cs
- FileUpload.cs
- XmlImplementation.cs
- mactripleDES.cs
- Line.cs
- Pens.cs
- DataBoundControl.cs
- XmlReaderSettings.cs
- ModelFunctionTypeElement.cs
- CLSCompliantAttribute.cs
- KeyProperty.cs
- NetworkInformationException.cs
- NumberFormatter.cs
- DesignSurfaceCollection.cs
- activationcontext.cs
- BitmapDownload.cs
- StreamResourceInfo.cs
- StylusPointProperties.cs
- XmlValueConverter.cs
- PageRanges.cs
- UIElement3D.cs
- ItemContainerGenerator.cs
- ValidationSummaryDesigner.cs
- XmlAttributes.cs
- DataListItemEventArgs.cs
- StylusSystemGestureEventArgs.cs
- Avt.cs
- HtmlImageAdapter.cs
- EncryptRequest.cs
- FacetChecker.cs
- TextBox.cs
- GacUtil.cs
- JsonReaderDelegator.cs
- MediaElementAutomationPeer.cs
- RPIdentityRequirement.cs
- WriteableBitmap.cs
- ConnectionPoint.cs
- Helpers.cs
- XmlTextEncoder.cs
- RewritingSimplifier.cs
- PolicyLevel.cs