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
- XmlSchemaGroupRef.cs
- TextRangeSerialization.cs
- DocumentPage.cs
- LocalFileSettingsProvider.cs
- validation.cs
- MexNamedPipeBindingElement.cs
- LocatorManager.cs
- formatstringdialog.cs
- UrlAuthFailedErrorFormatter.cs
- ContainerActivationHelper.cs
- KerberosSecurityTokenProvider.cs
- AssemblyCache.cs
- FamilyTypefaceCollection.cs
- InitializationEventAttribute.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- peernodeimplementation.cs
- SimpleParser.cs
- SafeNativeMethodsCLR.cs
- FilterUserControlBase.cs
- AppDomainFactory.cs
- XmlAutoDetectWriter.cs
- DocumentApplication.cs
- WpfWebRequestHelper.cs
- TrackingConditionCollection.cs
- SerializationStore.cs
- XmlObjectSerializerReadContextComplex.cs
- NetMsmqSecurityElement.cs
- StylusLogic.cs
- AdPostCacheSubstitution.cs
- SecurityChannelFaultConverter.cs
- RuntimeEnvironment.cs
- PackagePart.cs
- CompleteWizardStep.cs
- Drawing.cs
- BinaryUtilClasses.cs
- RefreshPropertiesAttribute.cs
- ZoomPercentageConverter.cs
- XhtmlStyleClass.cs
- OleDbEnumerator.cs
- SQLCharsStorage.cs
- QueryCacheEntry.cs
- WindowsSecurityToken.cs
- FixedPageProcessor.cs
- ListMarkerLine.cs
- SafePEFileHandle.cs
- AutomationPropertyInfo.cs
- NotConverter.cs
- ResetableIterator.cs
- RequestCachePolicy.cs
- List.cs
- WhileDesigner.cs
- SafeIUnknown.cs
- DbModificationCommandTree.cs
- SortDescriptionCollection.cs
- ObjectCacheHost.cs
- SystemIcons.cs
- HitTestResult.cs
- GeometryConverter.cs
- SchemaConstraints.cs
- UIElement3D.cs
- Transactions.cs
- Error.cs
- WaitForChangedResult.cs
- OpacityConverter.cs
- BitmapData.cs
- EncoderNLS.cs
- ToolboxComponentsCreatingEventArgs.cs
- BindingContext.cs
- XmlDictionaryString.cs
- SelectionChangedEventArgs.cs
- PropertyFilterAttribute.cs
- UrlSyndicationContent.cs
- HostingEnvironmentException.cs
- DoubleLinkList.cs
- StrokeFIndices.cs
- MdiWindowListItemConverter.cs
- FrameworkElement.cs
- QilGenerator.cs
- MasterPage.cs
- TrackingProfileCache.cs
- _DomainName.cs
- DependencyObjectPropertyDescriptor.cs
- smtppermission.cs
- CriticalFinalizerObject.cs
- ComboBox.cs
- MenuItemAutomationPeer.cs
- InputManager.cs
- HitTestParameters.cs
- WsdlBuildProvider.cs
- ContentPlaceHolder.cs
- Error.cs
- ComUdtElement.cs
- FrameworkContentElement.cs
- WsatServiceAddress.cs
- UInt32Storage.cs
- DetailsView.cs
- LocalizableAttribute.cs
- MissingFieldException.cs
- RemotingServices.cs
- SpotLight.cs