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
- ModelService.cs
- PieceDirectory.cs
- RuleAction.cs
- XPathNode.cs
- UriTemplateLiteralPathSegment.cs
- TripleDESCryptoServiceProvider.cs
- XmlSiteMapProvider.cs
- MergeFailedEvent.cs
- XmlSchemaNotation.cs
- DataListItemCollection.cs
- MetadataItem.cs
- Triplet.cs
- SqlDataSourceEnumerator.cs
- XomlCompilerHelpers.cs
- MouseButton.cs
- SymbolMethod.cs
- DependencyPropertyAttribute.cs
- OracleDataAdapter.cs
- ListBoxItemAutomationPeer.cs
- RegistryConfigurationProvider.cs
- HiddenField.cs
- BrowserCapabilitiesFactory.cs
- AsyncDataRequest.cs
- ImageMap.cs
- HttpResponseBase.cs
- HatchBrush.cs
- KoreanCalendar.cs
- PersonalizationStateQuery.cs
- WeakReferenceList.cs
- Point3DCollection.cs
- CellParagraph.cs
- DragCompletedEventArgs.cs
- SqlServices.cs
- CodeTypeOfExpression.cs
- RawContentTypeMapper.cs
- PTUtility.cs
- SqlTypeSystemProvider.cs
- WizardStepBase.cs
- CompilerCollection.cs
- DockPattern.cs
- __TransparentProxy.cs
- X509Certificate2.cs
- MessageQueueTransaction.cs
- FragmentNavigationEventArgs.cs
- CorrelationManager.cs
- X509AsymmetricSecurityKey.cs
- ThreadStartException.cs
- GenerateHelper.cs
- PresentationSource.cs
- StorageComplexTypeMapping.cs
- Utility.cs
- ImageDrawing.cs
- PasswordPropertyTextAttribute.cs
- ListDesigner.cs
- GetMemberBinder.cs
- XmlSerializationGeneratedCode.cs
- StreamHelper.cs
- ButtonRenderer.cs
- ProcessHostConfigUtils.cs
- ICollection.cs
- DesignerAdRotatorAdapter.cs
- HandlerFactoryWrapper.cs
- SqlCacheDependencyDatabaseCollection.cs
- ProviderSettingsCollection.cs
- HttpDictionary.cs
- Compiler.cs
- DynamicValidatorEventArgs.cs
- TracingConnectionInitiator.cs
- CompileXomlTask.cs
- MenuStrip.cs
- StandardCommandToolStripMenuItem.cs
- GridViewRowPresenterBase.cs
- ToolStripDropDownItem.cs
- WindowsStatusBar.cs
- FragmentQueryProcessor.cs
- ParseChildrenAsPropertiesAttribute.cs
- ThicknessConverter.cs
- GifBitmapDecoder.cs
- PackageController.cs
- DataTrigger.cs
- BaseHashHelper.cs
- SiteMembershipCondition.cs
- BevelBitmapEffect.cs
- CoreSwitches.cs
- CodeAttributeDeclarationCollection.cs
- SoapAttributeAttribute.cs
- OpenFileDialog.cs
- DateTimePicker.cs
- Content.cs
- SymmetricAlgorithm.cs
- ImageFormatConverter.cs
- PropertyGroupDescription.cs
- TouchesCapturedWithinProperty.cs
- BasicExpressionVisitor.cs
- SHA1Managed.cs
- InfiniteIntConverter.cs
- MissingMethodException.cs
- PropertyChangedEventManager.cs
- RadioButton.cs
- SqlCacheDependencyDatabaseCollection.cs