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
- SqlGatherProducedAliases.cs
- RequestCacheEntry.cs
- DBParameter.cs
- ConnectionConsumerAttribute.cs
- PeerContact.cs
- ChtmlSelectionListAdapter.cs
- ListControlStringCollectionEditor.cs
- OperationResponse.cs
- OrthographicCamera.cs
- XmlSerializerVersionAttribute.cs
- CommonObjectSecurity.cs
- DataGridViewBand.cs
- TrackBarDesigner.cs
- CopyOnWriteList.cs
- GuidelineSet.cs
- XmlSchemaSimpleTypeRestriction.cs
- MissingManifestResourceException.cs
- TemplatePropertyEntry.cs
- WorkflowItemsPresenter.cs
- TypeConverterValueSerializer.cs
- CorePropertiesFilter.cs
- XmlSchemaSimpleContent.cs
- DefaultTraceListener.cs
- NameSpaceExtractor.cs
- Expander.cs
- RowsCopiedEventArgs.cs
- SoapInteropTypes.cs
- TrackingProfileSerializer.cs
- PropertyTabAttribute.cs
- ConfigXmlDocument.cs
- XsdDateTime.cs
- SystemIPGlobalProperties.cs
- DynamicPhysicalDiscoSearcher.cs
- __TransparentProxy.cs
- HasActivatableWorkflowEvent.cs
- InstanceLockedException.cs
- BridgeDataRecord.cs
- WebConfigurationHost.cs
- TextTreeDeleteContentUndoUnit.cs
- SecureUICommand.cs
- SessionPageStatePersister.cs
- Transactions.cs
- ParserExtension.cs
- FileLogRecordHeader.cs
- RequestResizeEvent.cs
- FloatAverageAggregationOperator.cs
- HtmlSelect.cs
- ParserContext.cs
- Math.cs
- RemotingException.cs
- BinaryConverter.cs
- HttpContextWrapper.cs
- RunClient.cs
- JapaneseLunisolarCalendar.cs
- DbConnectionFactory.cs
- wgx_sdk_version.cs
- comcontractssection.cs
- Memoizer.cs
- MultiAsyncResult.cs
- CompilerWrapper.cs
- DataSourceViewSchemaConverter.cs
- DataGridColumnHeaderAutomationPeer.cs
- SecurityPolicyVersion.cs
- ClientFormsIdentity.cs
- ListControl.cs
- ToolTip.cs
- InkPresenterAutomationPeer.cs
- Point3DConverter.cs
- DnsPermission.cs
- DataKey.cs
- basemetadatamappingvisitor.cs
- DesignerVerbCollection.cs
- RuleSetBrowserDialog.cs
- DataList.cs
- TabItemWrapperAutomationPeer.cs
- StatusBarPanel.cs
- TemplatePropertyEntry.cs
- XmlSchemaSimpleContent.cs
- RecordManager.cs
- TypefaceMetricsCache.cs
- XmlDataImplementation.cs
- GPPOINTF.cs
- DocumentReferenceCollection.cs
- InputChannelAcceptor.cs
- EditModeSwitchButton.cs
- MediaCommands.cs
- MessageDecoder.cs
- bindurihelper.cs
- SystemTcpStatistics.cs
- StrokeDescriptor.cs
- WindowsStatusBar.cs
- SettingsPropertyWrongTypeException.cs
- SecurityDocument.cs
- CodeAssignStatement.cs
- Object.cs
- ConfigXmlAttribute.cs
- DataGridState.cs
- MimeTypePropertyAttribute.cs
- JsonServiceDocumentSerializer.cs
- WindowsAltTab.cs