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
- Int32CAMarshaler.cs
- Preprocessor.cs
- FindCriteria.cs
- ScrollProperties.cs
- HttpPostServerProtocol.cs
- FormViewUpdateEventArgs.cs
- MaskInputRejectedEventArgs.cs
- LineBreakRecord.cs
- AtomServiceDocumentSerializer.cs
- SqlErrorCollection.cs
- GenericXmlSecurityTokenAuthenticator.cs
- CommandID.cs
- SystemIPGlobalStatistics.cs
- DataGridViewColumnStateChangedEventArgs.cs
- EventMap.cs
- PatternMatcher.cs
- SerializationStore.cs
- DataAccessException.cs
- DataTableTypeConverter.cs
- webproxy.cs
- MasterPage.cs
- SafeSecurityHelper.cs
- SecurityChannelListener.cs
- InvokerUtil.cs
- COM2FontConverter.cs
- DefaultValueMapping.cs
- Compensation.cs
- UnsafeNativeMethods.cs
- UncommonField.cs
- GroupDescription.cs
- CollectionViewProxy.cs
- SchemaNamespaceManager.cs
- DataGridViewRowsRemovedEventArgs.cs
- DataStreams.cs
- XmlResolver.cs
- TableStyle.cs
- SiteMapPath.cs
- DataGridPageChangedEventArgs.cs
- CodeNamespaceImport.cs
- Behavior.cs
- GCHandleCookieTable.cs
- EntityDataSourceDesigner.cs
- HtmlTernaryTree.cs
- PauseStoryboard.cs
- Internal.cs
- TableStyle.cs
- Point4D.cs
- LinqDataSourceEditData.cs
- SqlDataSourceSelectingEventArgs.cs
- BindingMAnagerBase.cs
- SqlErrorCollection.cs
- Int16AnimationBase.cs
- FontWeight.cs
- UInt32.cs
- XmlDeclaration.cs
- MenuItemBindingCollection.cs
- ProtocolReflector.cs
- ScrollChangedEventArgs.cs
- IsolatedStorageFile.cs
- XmlSchemaRedefine.cs
- BamlRecordReader.cs
- securestring.cs
- TcpTransportElement.cs
- ObjectPersistData.cs
- XmlDictionaryReader.cs
- Timeline.cs
- AttributeCollection.cs
- While.cs
- TextureBrush.cs
- Rectangle.cs
- DataControlHelper.cs
- OperationInfo.cs
- Debugger.cs
- Material.cs
- FeatureSupport.cs
- XsdBuilder.cs
- WebPartAddingEventArgs.cs
- DataControlImageButton.cs
- Typeface.cs
- EventLogger.cs
- OracleCommandBuilder.cs
- HebrewNumber.cs
- ToolStripDropDownItem.cs
- IdentityModelStringsVersion1.cs
- CollectionViewGroupInternal.cs
- SystemIcons.cs
- AppDomainAttributes.cs
- ConfigXmlElement.cs
- EastAsianLunisolarCalendar.cs
- BaseCodeDomTreeGenerator.cs
- Panel.cs
- ConfigXmlAttribute.cs
- DnsPermission.cs
- ConnectionManagementElementCollection.cs
- NamespaceCollection.cs
- BitmapPalette.cs
- SqlDataSourceCache.cs
- ProfileSection.cs
- ObjectQuery.cs
- RichTextBoxAutomationPeer.cs