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
- PagedDataSource.cs
- FragmentQueryKB.cs
- SHA256.cs
- BitmapEffect.cs
- Win32.cs
- SqlGatherProducedAliases.cs
- SessionPageStatePersister.cs
- hresults.cs
- DataBindingValueUIHandler.cs
- Logging.cs
- TypeUtil.cs
- CookielessData.cs
- LogReserveAndAppendState.cs
- SubMenuStyleCollection.cs
- WindowVisualStateTracker.cs
- CTreeGenerator.cs
- X509AsymmetricSecurityKey.cs
- WpfGeneratedKnownProperties.cs
- DeviceFiltersSection.cs
- ChannelHandler.cs
- Vector3DValueSerializer.cs
- DelegatingConfigHost.cs
- SharedConnectionWorkflowTransactionService.cs
- WebPartEditorCancelVerb.cs
- DataBindingCollectionConverter.cs
- columnmapkeybuilder.cs
- LinearGradientBrush.cs
- Accessible.cs
- ButtonBase.cs
- UnsafeNativeMethodsPenimc.cs
- CustomAttribute.cs
- EventLogEntryCollection.cs
- CompatibleIComparer.cs
- FileLevelControlBuilderAttribute.cs
- ProfileParameter.cs
- Condition.cs
- StateDesigner.TransitionInfo.cs
- TreeViewCancelEvent.cs
- XhtmlBasicSelectionListAdapter.cs
- Codec.cs
- datacache.cs
- RequestCacheManager.cs
- IndependentAnimationStorage.cs
- AttributeData.cs
- TextEffect.cs
- ParserHooks.cs
- Binding.cs
- AVElementHelper.cs
- NetTcpSecurity.cs
- WebCategoryAttribute.cs
- RoleService.cs
- ConstraintEnumerator.cs
- AudioBase.cs
- DrawListViewItemEventArgs.cs
- ToolStripPanelRow.cs
- StreamWriter.cs
- X509IssuerSerialKeyIdentifierClause.cs
- StrongNameMembershipCondition.cs
- ExtensibleClassFactory.cs
- DependencyObjectProvider.cs
- AuthenticationModulesSection.cs
- ButtonPopupAdapter.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- IntSecurity.cs
- IsolatedStorageFile.cs
- Polygon.cs
- SessionSwitchEventArgs.cs
- HandlerBase.cs
- DbConnectionFactory.cs
- CodeArrayIndexerExpression.cs
- OleDbReferenceCollection.cs
- Stacktrace.cs
- RadialGradientBrush.cs
- AsymmetricKeyExchangeFormatter.cs
- SerializationFieldInfo.cs
- FilterableData.cs
- XmlDictionaryReaderQuotas.cs
- InstanceLockedException.cs
- SID.cs
- StateMachineAction.cs
- TextTreeFixupNode.cs
- DesignerDataSchemaClass.cs
- CultureSpecificStringDictionary.cs
- TextEditorMouse.cs
- Point.cs
- GlyphRunDrawing.cs
- ADMembershipProvider.cs
- StateRuntime.cs
- metadatamappinghashervisitor.cs
- BaseParser.cs
- AppDomainFactory.cs
- BitmapEffectCollection.cs
- DataComponentMethodGenerator.cs
- IdentityReference.cs
- PropertyBuilder.cs
- SinglePageViewer.cs
- activationcontext.cs
- MULTI_QI.cs
- XmlValidatingReaderImpl.cs
- ReachUIElementCollectionSerializerAsync.cs