Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Services / Timers / System / Timers / TimersDescriptionAttribute.cs / 1 / 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
- TimeSpanStorage.cs
- FigureParagraph.cs
- SoapSchemaImporter.cs
- CommandLineParser.cs
- ThemeableAttribute.cs
- QueuePathEditor.cs
- CharEntityEncoderFallback.cs
- FlagsAttribute.cs
- XmlStringTable.cs
- WebBrowserSiteBase.cs
- XmlSchemaAny.cs
- XhtmlBasicSelectionListAdapter.cs
- RuntimeConfigLKG.cs
- CodeAttributeArgument.cs
- CaseStatement.cs
- SecurityUniqueId.cs
- RoleManagerSection.cs
- MappingMetadataHelper.cs
- WorkItem.cs
- HttpModuleCollection.cs
- FolderBrowserDialog.cs
- DataReaderContainer.cs
- Helper.cs
- DirectoryNotFoundException.cs
- ImmutableCollection.cs
- TypeElementCollection.cs
- CodeSnippetTypeMember.cs
- MonthCalendarDesigner.cs
- RepeatBehaviorConverter.cs
- MissingFieldException.cs
- CompiledRegexRunner.cs
- SelectionWordBreaker.cs
- HtmlValidatorAdapter.cs
- DataColumn.cs
- BindableTemplateBuilder.cs
- ClrPerspective.cs
- DirectionalLight.cs
- ZoomPercentageConverter.cs
- SelectedGridItemChangedEvent.cs
- SmiMetaData.cs
- LifetimeServices.cs
- FilePrompt.cs
- UnsignedPublishLicense.cs
- ModulesEntry.cs
- InfiniteTimeSpanConverter.cs
- BufferedReadStream.cs
- TextRangeEdit.cs
- ImageField.cs
- DbException.cs
- ColumnPropertiesGroup.cs
- CellTreeNodeVisitors.cs
- DetailsViewInsertedEventArgs.cs
- SessionEndedEventArgs.cs
- WhitespaceSignificantCollectionAttribute.cs
- StrokeSerializer.cs
- EmptyControlCollection.cs
- Validator.cs
- AbstractSvcMapFileLoader.cs
- WebPartDeleteVerb.cs
- ToolCreatedEventArgs.cs
- AutoSizeComboBox.cs
- XmlnsCompatibleWithAttribute.cs
- XamlClipboardData.cs
- LinkLabelLinkClickedEvent.cs
- ConfigurationStrings.cs
- DurableEnlistmentState.cs
- WebMessageEncoderFactory.cs
- ResolvedKeyFrameEntry.cs
- HttpWebRequest.cs
- GrammarBuilderDictation.cs
- ToolStripSystemRenderer.cs
- DifferencingCollection.cs
- TranslateTransform.cs
- ComAdminInterfaces.cs
- HttpCachePolicyElement.cs
- PointKeyFrameCollection.cs
- ThicknessAnimationUsingKeyFrames.cs
- StringFreezingAttribute.cs
- EntityDataSourceEntityTypeFilterItem.cs
- ColumnReorderedEventArgs.cs
- WebPartTransformerAttribute.cs
- ImpersonationContext.cs
- WindowsGrip.cs
- DesignerAdRotatorAdapter.cs
- StringUtil.cs
- ObjectStateEntry.cs
- webproxy.cs
- DataExpression.cs
- PropertyBuilder.cs
- CultureInfoConverter.cs
- XPathPatternBuilder.cs
- TextRunCacheImp.cs
- DeferredSelectedIndexReference.cs
- LogSwitch.cs
- UnknownBitmapEncoder.cs
- GridViewRowCollection.cs
- DBSqlParserTable.cs
- TiffBitmapEncoder.cs
- DynamicFilterExpression.cs
- WindowsAuthenticationEventArgs.cs