Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SmtpCommands.cs
- DataBoundControlHelper.cs
- MorphHelper.cs
- WinCategoryAttribute.cs
- EventWaitHandleSecurity.cs
- PropertyDescriptorCollection.cs
- EventItfInfo.cs
- GeneratedContractType.cs
- WebPartManagerInternals.cs
- ConditionCollection.cs
- TypeExtensionConverter.cs
- EventTrigger.cs
- PageMediaType.cs
- HiddenField.cs
- ZipIOExtraFieldPaddingElement.cs
- ListContractAdapter.cs
- SafeArrayTypeMismatchException.cs
- DataGridViewHeaderCell.cs
- ConnectionManagementElement.cs
- HttpCookieCollection.cs
- LambdaValue.cs
- SqlGenericUtil.cs
- DayRenderEvent.cs
- BookmarkScopeInfo.cs
- SharingService.cs
- DataGrid.cs
- SerialPort.cs
- ExceptionWrapper.cs
- ApplicationInfo.cs
- EntityDataSourceStatementEditor.cs
- AppDomainManager.cs
- AncillaryOps.cs
- SqlFacetAttribute.cs
- ToolBar.cs
- DateTimeFormatInfoScanner.cs
- MediaSystem.cs
- Misc.cs
- Error.cs
- AssociationSetMetadata.cs
- OutputCacheSettings.cs
- ZoomPercentageConverter.cs
- HttpConfigurationSystem.cs
- PerformanceCounterPermissionEntry.cs
- PseudoWebRequest.cs
- Rect.cs
- ConfigXmlAttribute.cs
- WindowsHyperlink.cs
- ReflectPropertyDescriptor.cs
- AccessKeyManager.cs
- OrderByQueryOptionExpression.cs
- CellTreeSimplifier.cs
- FtpRequestCacheValidator.cs
- String.cs
- OleDbConnection.cs
- UpdateExpressionVisitor.cs
- EntityClientCacheEntry.cs
- __Filters.cs
- MachineKeySection.cs
- ByteStorage.cs
- XmlBinaryReaderSession.cs
- User.cs
- ServiceObjectContainer.cs
- InternalControlCollection.cs
- MenuItemStyleCollection.cs
- EditorBrowsableAttribute.cs
- DeadCharTextComposition.cs
- TaskFileService.cs
- ContainerFilterService.cs
- DefaultEvaluationContext.cs
- BamlLocalizationDictionary.cs
- Walker.cs
- HtmlControl.cs
- EventLogTraceListener.cs
- WebPartTransformerCollection.cs
- ManagementPath.cs
- ContentElement.cs
- ComponentEditorPage.cs
- MetadataItemCollectionFactory.cs
- ElementNotAvailableException.cs
- XsdBuildProvider.cs
- SimpleType.cs
- EmptyArray.cs
- IntersectQueryOperator.cs
- MappingSource.cs
- RegexCaptureCollection.cs
- OrderByExpression.cs
- SHA384.cs
- CompositeDataBoundControl.cs
- AnnotationAuthorChangedEventArgs.cs
- ReferenceAssemblyAttribute.cs
- ImageDesigner.cs
- XmlDataProvider.cs
- HMACSHA512.cs
- PlacementWorkspace.cs
- TriggerAction.cs
- HttpPostedFile.cs
- OciHandle.cs
- MinMaxParagraphWidth.cs
- StateElement.cs
- ByteStreamGeometryContext.cs