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
- Properties.cs
- CacheEntry.cs
- SoapAttributeAttribute.cs
- InstanceLockQueryResult.cs
- SecurityRuntime.cs
- InvalidProgramException.cs
- PropertyRecord.cs
- SettingsProperty.cs
- SettingsContext.cs
- BinaryFormatter.cs
- ILGenerator.cs
- BitConverter.cs
- TouchEventArgs.cs
- LocalizableAttribute.cs
- FileNotFoundException.cs
- AdapterUtil.cs
- EncodingTable.cs
- EncryptedKey.cs
- TextSpan.cs
- StaticTextPointer.cs
- SHA384Managed.cs
- LoadGrammarCompletedEventArgs.cs
- DeclarativeCatalogPart.cs
- ParameterBuilder.cs
- IisTraceWebEventProvider.cs
- CategoryEditor.cs
- LinqExpressionNormalizer.cs
- StateItem.cs
- TextBoxView.cs
- WinInet.cs
- DataColumnMappingCollection.cs
- CompleteWizardStep.cs
- SettingsPropertyValueCollection.cs
- DataServiceHost.cs
- TrackingServices.cs
- OptimizerPatterns.cs
- RenderData.cs
- CompositeActivityMarkupSerializer.cs
- DataSourceHelper.cs
- URI.cs
- CompiledQuery.cs
- AppDomainFactory.cs
- PixelFormats.cs
- WorkflowOperationErrorHandler.cs
- Compiler.cs
- CompilationRelaxations.cs
- FormView.cs
- Container.cs
- AppDomainProtocolHandler.cs
- Grid.cs
- ConfigsHelper.cs
- ClusterSafeNativeMethods.cs
- ClientCultureInfo.cs
- HtmlHistory.cs
- ComponentTray.cs
- OpCopier.cs
- LicenseManager.cs
- LocalizedNameDescriptionPair.cs
- _NetRes.cs
- NameSpaceExtractor.cs
- NetworkAddressChange.cs
- XmlEncoding.cs
- NamespaceEmitter.cs
- StorageSetMapping.cs
- JobStaple.cs
- StreamWriter.cs
- Double.cs
- FontConverter.cs
- InkPresenter.cs
- SqlDataRecord.cs
- ActivityExecutionContext.cs
- CalendarAutomationPeer.cs
- TreeViewItemAutomationPeer.cs
- InvalidPrinterException.cs
- XmlAttributeCache.cs
- CacheSection.cs
- HostProtectionException.cs
- SafeLibraryHandle.cs
- CacheDict.cs
- CompareInfo.cs
- EnumType.cs
- PointLightBase.cs
- DataChangedEventManager.cs
- MonthChangedEventArgs.cs
- InheritanceRules.cs
- ObjectCache.cs
- UpDownBase.cs
- MediaTimeline.cs
- ProfileInfo.cs
- ValueChangedEventManager.cs
- DefaultTraceListener.cs
- FormatVersion.cs
- ProxyFragment.cs
- COM2PropertyDescriptor.cs
- ExpressionReplacer.cs
- DigitShape.cs
- ClientApiGenerator.cs
- DateTimeOffsetStorage.cs
- DBConnectionString.cs
- HttpApplicationFactory.cs