Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Timers / System / Timers / TimersDescriptionAttribute.cs / 1305376 / 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
- FixedNode.cs
- XmlSchemaSet.cs
- X509Extension.cs
- OrCondition.cs
- EnvelopedPkcs7.cs
- XmlSignatureManifest.cs
- AutoCompleteStringCollection.cs
- HttpCapabilitiesEvaluator.cs
- ItemDragEvent.cs
- MultitargetUtil.cs
- SdlChannelSink.cs
- StreamAsIStream.cs
- TextTreeInsertElementUndoUnit.cs
- OutputScope.cs
- SQLDecimal.cs
- RectAnimation.cs
- QueryContinueDragEventArgs.cs
- CellParagraph.cs
- MessageContractMemberAttribute.cs
- TablePattern.cs
- httpstaticobjectscollection.cs
- BinaryReader.cs
- TimeSpanMinutesConverter.cs
- ColorConvertedBitmap.cs
- TextEffectResolver.cs
- Int32Rect.cs
- InstanceDataCollection.cs
- SessionPageStateSection.cs
- PreloadHost.cs
- TableFieldsEditor.cs
- DesignerOptions.cs
- InterleavedZipPartStream.cs
- SmiRecordBuffer.cs
- WindowsSysHeader.cs
- SystemNetHelpers.cs
- ColumnMapVisitor.cs
- ReadOnlyDictionary.cs
- TabRenderer.cs
- ExpressionPrefixAttribute.cs
- XmlWrappingReader.cs
- ClrProviderManifest.cs
- DBAsyncResult.cs
- Stack.cs
- Parameter.cs
- TextPenaltyModule.cs
- Debug.cs
- SessionPageStatePersister.cs
- SmtpFailedRecipientException.cs
- ActivityCodeDomReferenceService.cs
- MediaEntryAttribute.cs
- DataRelation.cs
- StretchValidation.cs
- TypedTableGenerator.cs
- Vector3D.cs
- SimpleBitVector32.cs
- HtmlUtf8RawTextWriter.cs
- EndpointIdentity.cs
- TypeLibConverter.cs
- AutomationPropertyInfo.cs
- MenuBindingsEditor.cs
- OpacityConverter.cs
- DataServiceEntityAttribute.cs
- XmlnsDefinitionAttribute.cs
- ColorInterpolationModeValidation.cs
- QilTypeChecker.cs
- HtmlWindowCollection.cs
- RandomDelayQueuedSendsAsyncResult.cs
- CommandField.cs
- Panel.cs
- DelegateOutArgument.cs
- FieldToken.cs
- SqlExpander.cs
- SystemParameters.cs
- BufferedOutputStream.cs
- XomlCompilerResults.cs
- DataGridViewColumnCollection.cs
- ControlPaint.cs
- PageContentAsyncResult.cs
- NotificationContext.cs
- SendKeys.cs
- FileSystemEventArgs.cs
- SamlAudienceRestrictionCondition.cs
- EntityProxyFactory.cs
- ObjectViewFactory.cs
- CategoryAttribute.cs
- WmlLiteralTextAdapter.cs
- DateTime.cs
- PrintPreviewDialog.cs
- HtmlPageAdapter.cs
- ServiceOperationUIEditor.cs
- ChildrenQuery.cs
- BinaryReader.cs
- SqlDataSourceCustomCommandPanel.cs
- ClientCredentialsSecurityTokenManager.cs
- ExceptQueryOperator.cs
- DrawingImage.cs
- RandomNumberGenerator.cs
- XsltFunctions.cs
- SubMenuStyle.cs
- ScrollableControl.cs