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
- DictionaryEntry.cs
- AmbientLight.cs
- SecureUICommand.cs
- AlphabeticalEnumConverter.cs
- SqlConnectionString.cs
- CodeDOMProvider.cs
- OpenFileDialog.cs
- InkSerializer.cs
- ToolStripRendererSwitcher.cs
- MustUnderstandSoapException.cs
- COM2PropertyPageUITypeConverter.cs
- ParserContext.cs
- ControlBuilderAttribute.cs
- RsaSecurityTokenAuthenticator.cs
- StructuredTypeEmitter.cs
- PropertyChangedEventArgs.cs
- SmtpException.cs
- ObjectConverter.cs
- HttpDebugHandler.cs
- EntityProviderFactory.cs
- ZipIOLocalFileHeader.cs
- SizeAnimation.cs
- TraceListeners.cs
- SchemaCollectionCompiler.cs
- ToolStripDropTargetManager.cs
- DataTableExtensions.cs
- _DynamicWinsockMethods.cs
- CommonGetThemePartSize.cs
- JpegBitmapDecoder.cs
- CodeDOMUtility.cs
- DataGridViewRowCollection.cs
- TextParentUndoUnit.cs
- ObjectRef.cs
- UInt64Converter.cs
- WhitespaceRuleLookup.cs
- PropertyFilterAttribute.cs
- ResourceContainer.cs
- PaintValueEventArgs.cs
- IISMapPath.cs
- CloseCryptoHandleRequest.cs
- UpDownBase.cs
- NonBatchDirectoryCompiler.cs
- GraphicsPath.cs
- CodeSubDirectoriesCollection.cs
- ObjectStateEntryDbDataRecord.cs
- HtmlInputControl.cs
- PackagingUtilities.cs
- LocatorPartList.cs
- httpserverutility.cs
- TextParentUndoUnit.cs
- Sql8ExpressionRewriter.cs
- StringBlob.cs
- UTF8Encoding.cs
- TableItemPatternIdentifiers.cs
- MailBnfHelper.cs
- AnonymousIdentificationModule.cs
- DoubleStorage.cs
- WebPartZoneBase.cs
- DataListItemCollection.cs
- DataGridViewColumnCollection.cs
- MenuAdapter.cs
- RightsManagementManager.cs
- ReadOnlyHierarchicalDataSourceView.cs
- WebPartZone.cs
- ProcessInputEventArgs.cs
- securitycriticaldata.cs
- RuntimeConfigurationRecord.cs
- TextViewBase.cs
- DefaultMemberAttribute.cs
- SystemIPGlobalProperties.cs
- WorkflowViewManager.cs
- XmlBoundElement.cs
- XmlTypeAttribute.cs
- InputScopeManager.cs
- UriSection.cs
- XmlCharCheckingReader.cs
- updatecommandorderer.cs
- HandleCollector.cs
- ModelItem.cs
- ErrorFormatterPage.cs
- MonthCalendar.cs
- Line.cs
- DataBindingValueUIHandler.cs
- PropertyTab.cs
- SoapRpcMethodAttribute.cs
- ImportCatalogPart.cs
- TreeNodeConverter.cs
- ChooseAction.cs
- NetworkInformationException.cs
- MultiByteCodec.cs
- COMException.cs
- PointConverter.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- FontFaceLayoutInfo.cs
- StylusPlugin.cs
- SrgsElementFactoryCompiler.cs
- httpserverutility.cs
- SmiGettersStream.cs
- EmissiveMaterial.cs
- CommandBinding.cs