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
- RequestResizeEvent.cs
- RawStylusInput.cs
- ContextMenuService.cs
- NgenServicingAttributes.cs
- RequiredAttributeAttribute.cs
- TemplateEditingFrame.cs
- RowCache.cs
- TableChangeProcessor.cs
- NGCSerializationManagerAsync.cs
- MetaModel.cs
- HashUtility.cs
- SmtpLoginAuthenticationModule.cs
- Stroke.cs
- QilPatternFactory.cs
- SafeEventHandle.cs
- ShortcutKeysEditor.cs
- Parameter.cs
- Internal.cs
- DbConnectionPoolGroupProviderInfo.cs
- AdapterDictionary.cs
- PropertyInformation.cs
- MatcherBuilder.cs
- SecureStringHasher.cs
- Timer.cs
- BitmapEffectInputData.cs
- EffectiveValueEntry.cs
- SystemIPGlobalProperties.cs
- Condition.cs
- NamedPipeConnectionPoolSettingsElement.cs
- XamlSerializer.cs
- _RequestLifetimeSetter.cs
- WebBrowser.cs
- ApplicationCommands.cs
- DiagnosticsConfigurationHandler.cs
- OdbcConnectionPoolProviderInfo.cs
- BitConverter.cs
- SplineQuaternionKeyFrame.cs
- WeakKeyDictionary.cs
- PaginationProgressEventArgs.cs
- _ContextAwareResult.cs
- EditableRegion.cs
- UnsafeNetInfoNativeMethods.cs
- DataObject.cs
- _ProxyChain.cs
- ProviderSettings.cs
- TimeSpanStorage.cs
- ButtonDesigner.cs
- SrgsSemanticInterpretationTag.cs
- AsyncOperationContext.cs
- ClientType.cs
- EditModeSwitchButton.cs
- TextSpanModifier.cs
- RefExpr.cs
- StringToken.cs
- DragCompletedEventArgs.cs
- DataBindingExpressionBuilder.cs
- State.cs
- _HTTPDateParse.cs
- ToolboxComponentsCreatedEventArgs.cs
- ExternalDataExchangeService.cs
- ImageConverter.cs
- ICspAsymmetricAlgorithm.cs
- AssemblyBuilder.cs
- GZipDecoder.cs
- SqlTriggerContext.cs
- SecurityDocument.cs
- StringCollection.cs
- DependencyObject.cs
- MsmqSecureHashAlgorithm.cs
- EventMap.cs
- CookielessHelper.cs
- UnsafeNativeMethods.cs
- FlowDocumentPage.cs
- TraceHwndHost.cs
- EncryptedData.cs
- HTMLTextWriter.cs
- XmlCollation.cs
- ChannelSinkStacks.cs
- XappLauncher.cs
- SystemBrushes.cs
- SymDocumentType.cs
- SQLDecimal.cs
- CustomAttributeSerializer.cs
- QueryRewriter.cs
- ZipIORawDataFileBlock.cs
- DecoderFallback.cs
- ToolStripGrip.cs
- _ChunkParse.cs
- BeginStoryboard.cs
- ReturnType.cs
- NavigationWindowAutomationPeer.cs
- MailMessageEventArgs.cs
- SqlConnectionStringBuilder.cs
- EnlistmentState.cs
- MetadataItem.cs
- ElasticEase.cs
- ChannelServices.cs
- CodeLabeledStatement.cs
- X509CertificateTrustedIssuerElement.cs
- MetadataItemEmitter.cs