Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / WebSysDescriptionAttribute.cs / 1 / 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
- TreeNodeStyle.cs
- SplitterPanel.cs
- _LocalDataStoreMgr.cs
- WindowsSpinner.cs
- AnnotationResource.cs
- DoubleAnimationClockResource.cs
- HttpModuleAction.cs
- ArcSegment.cs
- SkipStoryboardToFill.cs
- CollectionViewGroupInternal.cs
- CellConstant.cs
- OverlappedContext.cs
- XamlStyleSerializer.cs
- ColorInterpolationModeValidation.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- InlineUIContainer.cs
- ExpressionVisitor.cs
- SQLRoleProvider.cs
- DataServiceRequestArgs.cs
- HostingEnvironment.cs
- ObjectIDGenerator.cs
- GridViewAutomationPeer.cs
- WindowsToolbarItemAsMenuItem.cs
- ListDependantCardsRequest.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- NullableBoolConverter.cs
- ParseChildrenAsPropertiesAttribute.cs
- SiteMap.cs
- SqlCacheDependencyDatabaseCollection.cs
- DebugView.cs
- ipaddressinformationcollection.cs
- SparseMemoryStream.cs
- BindingCollection.cs
- DataPagerFieldItem.cs
- CorrelationResolver.cs
- ServicePointManagerElement.cs
- SortAction.cs
- ToolStripStatusLabel.cs
- Literal.cs
- OneOfElement.cs
- JsonReaderWriterFactory.cs
- InvokePattern.cs
- BrowserInteropHelper.cs
- Function.cs
- MethodRental.cs
- ProfileParameter.cs
- PageFunction.cs
- RegexGroupCollection.cs
- ValidationEventArgs.cs
- ContentPropertyAttribute.cs
- StructuralCache.cs
- XPathNodeIterator.cs
- IOException.cs
- Region.cs
- PackUriHelper.cs
- MulticastDelegate.cs
- ServiceNotStartedException.cs
- SafeHandle.cs
- SamlAssertionKeyIdentifierClause.cs
- OleCmdHelper.cs
- Version.cs
- SqlDataSource.cs
- ProfileProvider.cs
- AnimationStorage.cs
- GraphicsContainer.cs
- COAUTHIDENTITY.cs
- MatrixAnimationUsingPath.cs
- ScrollBarAutomationPeer.cs
- HtmlAnchor.cs
- ClientOperation.cs
- FrameAutomationPeer.cs
- DataTableClearEvent.cs
- PieceNameHelper.cs
- CompositeTypefaceMetrics.cs
- ADConnectionHelper.cs
- OleDbTransaction.cs
- XPathSelfQuery.cs
- RefExpr.cs
- ByteConverter.cs
- TableAdapterManagerMethodGenerator.cs
- SkewTransform.cs
- ConfigXmlWhitespace.cs
- ForwardPositionQuery.cs
- XmlTextWriter.cs
- CreateRefExpr.cs
- SubstitutionList.cs
- SqlGenericUtil.cs
- PropVariant.cs
- XPathNode.cs
- ContainerParagraph.cs
- PasswordTextContainer.cs
- TextParentUndoUnit.cs
- CalendarTable.cs
- OdbcCommand.cs
- TimeSpanParse.cs
- BooleanToVisibilityConverter.cs
- BackEase.cs
- ChannelManagerHelpers.cs
- JsonStringDataContract.cs
- ObservableCollection.cs