Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / WebSysDescriptionAttribute.cs / 1305376 / WebSysDescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { 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 WebSysDescriptionAttribute : DescriptionAttribute { private bool replaced; ////// internal WebSysDescriptionAttribute(string description) : base(description) { } ///Constructs a new sys description. ////// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.GetString(base.Description); } return base.Description; } } public override object TypeId { get { return typeof(DescriptionAttribute); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Retrieves the description text. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { 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 WebSysDescriptionAttribute : DescriptionAttribute { private bool replaced; ////// internal WebSysDescriptionAttribute(string description) : base(description) { } ///Constructs a new sys description. ////// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.GetString(base.Description); } return base.Description; } } public override object TypeId { get { return typeof(DescriptionAttribute); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Retrieves the description text. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FastEncoder.cs
- EndpointAddressElementBase.cs
- NetCodeGroup.cs
- DocumentOrderQuery.cs
- GridErrorDlg.cs
- DayRenderEvent.cs
- DeflateStream.cs
- datacache.cs
- CatalogZone.cs
- EllipseGeometry.cs
- SqlCacheDependencyDatabaseCollection.cs
- ConnectionStringsExpressionBuilder.cs
- DNS.cs
- NamespaceEmitter.cs
- RemoteHelper.cs
- Int64.cs
- AllMembershipCondition.cs
- PersonalizableTypeEntry.cs
- FilteredXmlReader.cs
- XmlSchemaAnyAttribute.cs
- _FtpControlStream.cs
- Helper.cs
- AddInIpcChannel.cs
- ByeMessageApril2005.cs
- AudioFormatConverter.cs
- TransportBindingElementImporter.cs
- Int32RectConverter.cs
- BaseTemplateParser.cs
- ICollection.cs
- OledbConnectionStringbuilder.cs
- Crc32.cs
- TdsValueSetter.cs
- WarningException.cs
- SqlInternalConnection.cs
- SamlAuthorizationDecisionClaimResource.cs
- ZoneIdentityPermission.cs
- ModulesEntry.cs
- FixedSOMTextRun.cs
- Bezier.cs
- WebPartActionVerb.cs
- RowsCopiedEventArgs.cs
- GenericAuthenticationEventArgs.cs
- ISAPIApplicationHost.cs
- SafeRegistryKey.cs
- FixedSOMTextRun.cs
- FixedSOMTable.cs
- CroppedBitmap.cs
- XmlChildEnumerator.cs
- DelegatingTypeDescriptionProvider.cs
- XPathNodeInfoAtom.cs
- AssertFilter.cs
- UIElementIsland.cs
- HeaderedContentControl.cs
- GridItem.cs
- SiteMapNodeItem.cs
- XPathNavigatorException.cs
- ReflectTypeDescriptionProvider.cs
- WSHttpBinding.cs
- SHA1.cs
- Attachment.cs
- CompilerWrapper.cs
- CurrencyManager.cs
- DispatcherHooks.cs
- UnsafeNativeMethods.cs
- MsmqInputSessionChannelListener.cs
- AttributeUsageAttribute.cs
- DbParameterHelper.cs
- TreeNodeConverter.cs
- SqlDataSourceQueryEditorForm.cs
- SplashScreen.cs
- SingleStorage.cs
- DLinqDataModelProvider.cs
- XmlObjectSerializerWriteContext.cs
- JumpItem.cs
- TreeViewImageKeyConverter.cs
- FunctionImportMapping.cs
- ToolStripContainer.cs
- ServiceMetadataContractBehavior.cs
- ServiceMetadataExtension.cs
- Switch.cs
- TimeIntervalCollection.cs
- ConnectivityStatus.cs
- ModifiableIteratorCollection.cs
- TextEditorSelection.cs
- StylusButton.cs
- TPLETWProvider.cs
- AppSettingsExpressionEditor.cs
- SerializationHelper.cs
- DocumentXPathNavigator.cs
- Line.cs
- NetworkInformationPermission.cs
- InputLangChangeEvent.cs
- ListItemConverter.cs
- DataBindingValueUIHandler.cs
- FullTextState.cs
- FileAuthorizationModule.cs
- CodeSubDirectory.cs
- NetTcpBindingElement.cs
- CommandArguments.cs
- OneOfScalarConst.cs