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
- BufferModesCollection.cs
- HttpHandlersSection.cs
- NavigationProperty.cs
- UnsafeNativeMethods.cs
- FileFormatException.cs
- OracleBinary.cs
- DocumentApplicationJournalEntry.cs
- ServiceHttpModule.cs
- HelpInfo.cs
- CoTaskMemSafeHandle.cs
- CommandID.cs
- HtmlInputImage.cs
- DataViewListener.cs
- SystemUnicastIPAddressInformation.cs
- InvalidDataContractException.cs
- BitmapEffectrendercontext.cs
- AxHostDesigner.cs
- LinqMaximalSubtreeNominator.cs
- DynamicQueryStringParameter.cs
- QuaternionAnimation.cs
- SystemIcmpV4Statistics.cs
- cryptoapiTransform.cs
- Drawing.cs
- KeyEvent.cs
- InfoCardCryptoHelper.cs
- RelationshipConverter.cs
- ApplicationBuildProvider.cs
- SecureEnvironment.cs
- ErrorProvider.cs
- GridViewItemAutomationPeer.cs
- While.cs
- FormatterServicesNoSerializableCheck.cs
- KeyBinding.cs
- TablePatternIdentifiers.cs
- PathStreamGeometryContext.cs
- FileClassifier.cs
- WebConfigurationHostFileChange.cs
- RuntimeArgumentHandle.cs
- XmlDocumentFieldSchema.cs
- HttpCookieCollection.cs
- FontFamilyValueSerializer.cs
- TableCellAutomationPeer.cs
- IDQuery.cs
- ButtonBaseAdapter.cs
- QueryReaderSettings.cs
- DataRelationCollection.cs
- BaseValidator.cs
- Component.cs
- FocusChangedEventArgs.cs
- unsafenativemethodsother.cs
- ListSourceHelper.cs
- IisTraceWebEventProvider.cs
- SpeechRecognitionEngine.cs
- OperationValidationEventArgs.cs
- OrderedDictionary.cs
- NodeLabelEditEvent.cs
- ToolStripItemBehavior.cs
- ExpressionHelper.cs
- ProjectionPath.cs
- TemplateContentLoader.cs
- CompiledQuery.cs
- NotifyCollectionChangedEventArgs.cs
- EtwTrackingBehaviorElement.cs
- CrossSiteScriptingValidation.cs
- UdpChannelListener.cs
- WebResponse.cs
- ContentOperations.cs
- VirtualPath.cs
- StringValueConverter.cs
- SerializationObjectManager.cs
- XslTransform.cs
- StreamGeometry.cs
- ObjectSecurity.cs
- sqlstateclientmanager.cs
- RolePrincipal.cs
- RoleGroupCollection.cs
- WmpBitmapEncoder.cs
- Identity.cs
- StylusTouchDevice.cs
- MultiSelector.cs
- ValidateNames.cs
- RubberbandSelector.cs
- _emptywebproxy.cs
- SettingsPropertyCollection.cs
- TextElementAutomationPeer.cs
- MDIWindowDialog.cs
- TextTrailingCharacterEllipsis.cs
- MetadataUtilsSmi.cs
- AbsoluteQuery.cs
- UpdateTracker.cs
- DataExchangeServiceBinder.cs
- ObjectDataSourceChooseTypePanel.cs
- ArrayEditor.cs
- DataTableReaderListener.cs
- Atom10FormatterFactory.cs
- DataTableReaderListener.cs
- APCustomTypeDescriptor.cs
- PublisherIdentityPermission.cs
- CollectionBase.cs
- FormatStringEditor.cs