Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Timers / System / Timers / TimersDescriptionAttribute.cs / 1305376 / TimersDescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Timers{ 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)] public class TimersDescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// Constructs a new sys description. /// public TimersDescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.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.Timers{ 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)] public class TimersDescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// Constructs a new sys description. /// public TimersDescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.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
- DoWorkEventArgs.cs
- SpeechRecognitionEngine.cs
- SrgsGrammarCompiler.cs
- CodeSubDirectoriesCollection.cs
- WindowsGraphicsWrapper.cs
- errorpatternmatcher.cs
- WebConfigurationManager.cs
- SessionState.cs
- ServicesUtilities.cs
- TypeReference.cs
- PhysicalOps.cs
- DeploymentExceptionMapper.cs
- ControlDesignerState.cs
- XmlSchemaSimpleContentRestriction.cs
- Simplifier.cs
- PrimitiveType.cs
- DBConnection.cs
- LassoSelectionBehavior.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- DummyDataSource.cs
- CatalogPart.cs
- CustomValidator.cs
- ConnectionInterfaceCollection.cs
- Command.cs
- ValidationPropertyAttribute.cs
- ToolStripPanelRenderEventArgs.cs
- Msec.cs
- FormatConvertedBitmap.cs
- ArrangedElement.cs
- ModulesEntry.cs
- XsltException.cs
- MessageSmuggler.cs
- MethodResolver.cs
- SafeRightsManagementSessionHandle.cs
- Slider.cs
- Preprocessor.cs
- Animatable.cs
- Soap12FormatExtensions.cs
- Pair.cs
- RegexEditorDialog.cs
- ComMethodElement.cs
- AuthenticationException.cs
- TableLayoutStyle.cs
- ProfileGroupSettings.cs
- ListSortDescriptionCollection.cs
- CharacterMetricsDictionary.cs
- ResourceDictionary.cs
- CreateInstanceBinder.cs
- TreeBuilderBamlTranslator.cs
- SslStream.cs
- Separator.cs
- PageClientProxyGenerator.cs
- Ppl.cs
- Win32.cs
- SimpleRecyclingCache.cs
- Calendar.cs
- UIServiceHelper.cs
- ClipboardProcessor.cs
- HostVisual.cs
- AppSettingsExpressionEditor.cs
- CodeStatementCollection.cs
- SqlInfoMessageEvent.cs
- FontCacheUtil.cs
- CachedPathData.cs
- Style.cs
- VerticalAlignConverter.cs
- DataGridItemCollection.cs
- CodeAttributeArgumentCollection.cs
- Timer.cs
- arabicshape.cs
- WebDescriptionAttribute.cs
- TransformerInfo.cs
- AnchoredBlock.cs
- CustomSignedXml.cs
- XmlRawWriterWrapper.cs
- BaseTemplateParser.cs
- WebCategoryAttribute.cs
- RichTextBox.cs
- TextMessageEncodingBindingElement.cs
- _NegoState.cs
- ModifiableIteratorCollection.cs
- IisTraceWebEventProvider.cs
- PersonalizationProviderHelper.cs
- TemplateXamlParser.cs
- TemplateGroupCollection.cs
- GridLengthConverter.cs
- WebBrowserNavigatingEventHandler.cs
- HttpModuleAction.cs
- TextDocumentView.cs
- CellTreeNodeVisitors.cs
- MarshalByRefObject.cs
- TagPrefixInfo.cs
- SQLInt32Storage.cs
- Configuration.cs
- ReferencedType.cs
- SendMailErrorEventArgs.cs
- HMACSHA1.cs
- QilInvoke.cs
- InputEventArgs.cs
- SourceInterpreter.cs