Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.Retrieves the description text. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextRangeProviderWrapper.cs
- ZeroOpNode.cs
- EntityProviderFactory.cs
- TextAutomationPeer.cs
- ParserStreamGeometryContext.cs
- MouseButtonEventArgs.cs
- RectAnimationUsingKeyFrames.cs
- Globals.cs
- WebPartDescription.cs
- KeyEvent.cs
- EventLogInformation.cs
- MessageQueuePermissionAttribute.cs
- _ListenerAsyncResult.cs
- ListenerHandler.cs
- StringFunctions.cs
- RegexCompilationInfo.cs
- ListSortDescriptionCollection.cs
- PropertyInformation.cs
- _ShellExpression.cs
- BindingManagerDataErrorEventArgs.cs
- XmlLangPropertyAttribute.cs
- ApplicationTrust.cs
- SqlMethodTransformer.cs
- DataAdapter.cs
- ConfigXmlReader.cs
- RelationshipEndMember.cs
- Type.cs
- TextDecorationUnitValidation.cs
- CompiledQuery.cs
- AttributeQuery.cs
- Section.cs
- DragCompletedEventArgs.cs
- RowToFieldTransformer.cs
- Point3DAnimation.cs
- DataSourceControl.cs
- VisualStyleInformation.cs
- TransformProviderWrapper.cs
- BitmapEffectGroup.cs
- DocumentReferenceCollection.cs
- CollectionViewSource.cs
- LineMetrics.cs
- FixedSOMImage.cs
- Rfc4050KeyFormatter.cs
- StyleModeStack.cs
- DBConcurrencyException.cs
- MetabaseReader.cs
- HMACRIPEMD160.cs
- SerializationEventsCache.cs
- MaskedTextBoxTextEditorDropDown.cs
- _CookieModule.cs
- ListBindableAttribute.cs
- WorkflowEventArgs.cs
- DbgCompiler.cs
- SystemDiagnosticsSection.cs
- XsdCachingReader.cs
- NameNode.cs
- ListView.cs
- BaseTemplateCodeDomTreeGenerator.cs
- WebPartHeaderCloseVerb.cs
- BatchParser.cs
- CancellationHandlerDesigner.cs
- WindowInteractionStateTracker.cs
- XmlMembersMapping.cs
- CodeSubDirectoriesCollection.cs
- RuleConditionDialog.Designer.cs
- DataRowChangeEvent.cs
- RepeatButton.cs
- SafeArrayRankMismatchException.cs
- CodeMemberField.cs
- Sorting.cs
- DesigntimeLicenseContextSerializer.cs
- XmlUTF8TextReader.cs
- ToolboxItemFilterAttribute.cs
- JsonEncodingStreamWrapper.cs
- SimpleType.cs
- UrlUtility.cs
- ApplicationBuildProvider.cs
- ICspAsymmetricAlgorithm.cs
- WebPartCatalogAddVerb.cs
- ApplicationSecurityManager.cs
- TargetInvocationException.cs
- CardSpacePolicyElement.cs
- SQLDecimal.cs
- ArrayList.cs
- SerializationObjectManager.cs
- ForwardPositionQuery.cs
- DebugView.cs
- PolicyLevel.cs
- X509SubjectKeyIdentifierClause.cs
- HtmlGenericControl.cs
- If.cs
- ContentType.cs
- SerializationObjectManager.cs
- JournalNavigationScope.cs
- SpeechEvent.cs
- ToolStripItemClickedEventArgs.cs
- Timer.cs
- User.cs
- ISAPIRuntime.cs
- AutomationTextAttribute.cs