Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- AttributeAction.cs
- PersonalizableAttribute.cs
- IconConverter.cs
- OleDbReferenceCollection.cs
- Component.cs
- FillRuleValidation.cs
- util.cs
- RemotingAttributes.cs
- xml.cs
- MenuAutomationPeer.cs
- OperationDescriptionCollection.cs
- Subtree.cs
- AttributeCollection.cs
- XamlStyleSerializer.cs
- DataControlImageButton.cs
- ProviderException.cs
- EmptyQuery.cs
- DoubleLinkList.cs
- DataGridViewButtonCell.cs
- ResourceBinder.cs
- BrowserDefinition.cs
- sqlstateclientmanager.cs
- ToolStripDropDownMenu.cs
- WebPartHelpVerb.cs
- InlineUIContainer.cs
- EventToken.cs
- CustomSignedXml.cs
- DeclarationUpdate.cs
- GridProviderWrapper.cs
- PersonalizationAdministration.cs
- PrintingPermissionAttribute.cs
- DrawingState.cs
- FunctionImportElement.cs
- XmlILConstructAnalyzer.cs
- ToolBarButtonClickEvent.cs
- ErrorTableItemStyle.cs
- OdbcParameterCollection.cs
- AnchoredBlock.cs
- MouseButtonEventArgs.cs
- Crc32Helper.cs
- FixedSOMContainer.cs
- ExpandCollapsePatternIdentifiers.cs
- MDIControlStrip.cs
- PackagePartCollection.cs
- PageThemeBuildProvider.cs
- SettingsAttributes.cs
- CloseCryptoHandleRequest.cs
- ResourceProperty.cs
- PseudoWebRequest.cs
- ClearTypeHintValidation.cs
- InvariantComparer.cs
- DataAccessor.cs
- DataListItemEventArgs.cs
- DictionaryItemsCollection.cs
- regiisutil.cs
- ValidatorCollection.cs
- Constants.cs
- XmlSiteMapProvider.cs
- NameNode.cs
- RenderingBiasValidation.cs
- QuadraticBezierSegment.cs
- ChooseAction.cs
- UIElementAutomationPeer.cs
- DataViewSettingCollection.cs
- CounterCreationData.cs
- XmlUnspecifiedAttribute.cs
- CancellableEnumerable.cs
- ReplyChannelAcceptor.cs
- QueryCacheManager.cs
- UnsafeNetInfoNativeMethods.cs
- SqlDataSourceSelectingEventArgs.cs
- ObjectConverter.cs
- XmlEventCache.cs
- BitStack.cs
- SmtpNetworkElement.cs
- XmlSchemaCollection.cs
- CollectionChangeEventArgs.cs
- FileDialog.cs
- MsmqInputSessionChannel.cs
- Command.cs
- ScriptReferenceEventArgs.cs
- ProcessExitedException.cs
- GridViewItemAutomationPeer.cs
- IgnoreFileBuildProvider.cs
- PointLight.cs
- SystemGatewayIPAddressInformation.cs
- WebEvents.cs
- DirectoryInfo.cs
- XmlSubtreeReader.cs
- SqlCacheDependency.cs
- RemotingException.cs
- DbParameterCollectionHelper.cs
- HyperLinkDesigner.cs
- AppDomainResourcePerfCounters.cs
- CatalogZoneBase.cs
- EasingFunctionBase.cs
- IsolatedStoragePermission.cs
- StreamWriter.cs
- FixedDocumentSequencePaginator.cs
- Empty.cs