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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SendActivityValidator.cs
- RichTextBoxDesigner.cs
- TableLayoutSettingsTypeConverter.cs
- __Filters.cs
- DrawingContextWalker.cs
- ProfileInfo.cs
- Math.cs
- OracleBoolean.cs
- GraphicsState.cs
- RequestCache.cs
- FilteredReadOnlyMetadataCollection.cs
- GZipStream.cs
- DefaultWorkflowSchedulerService.cs
- OdbcDataAdapter.cs
- Camera.cs
- SerializerWriterEventHandlers.cs
- RowsCopiedEventArgs.cs
- MailWriter.cs
- COM2PropertyPageUITypeConverter.cs
- ComNativeDescriptor.cs
- ThrowHelper.cs
- PixelFormats.cs
- CompositeTypefaceMetrics.cs
- ThrowHelper.cs
- ShellProvider.cs
- CodeExpressionCollection.cs
- InteropAutomationProvider.cs
- LoginDesigner.cs
- BinaryUtilClasses.cs
- HandoffBehavior.cs
- TextTreeUndoUnit.cs
- CodeConstructor.cs
- ChooseAction.cs
- DesignSurfaceEvent.cs
- TypeName.cs
- ScriptingSectionGroup.cs
- _TLSstream.cs
- TextCompositionManager.cs
- ValidatingReaderNodeData.cs
- MorphHelper.cs
- GC.cs
- CultureMapper.cs
- OdbcConnectionOpen.cs
- SystemWebCachingSectionGroup.cs
- XMLSchema.cs
- AuthenticatedStream.cs
- MdiWindowListStrip.cs
- SoapEnumAttribute.cs
- SettingsSection.cs
- InArgument.cs
- FixedMaxHeap.cs
- AutomationAttributeInfo.cs
- StoreItemCollection.Loader.cs
- StateFinalizationDesigner.cs
- PrimitiveOperationFormatter.cs
- TreeNode.cs
- CodeIndexerExpression.cs
- DirectoryNotFoundException.cs
- KoreanLunisolarCalendar.cs
- ValueUtilsSmi.cs
- ISFTagAndGuidCache.cs
- QueryAccessibilityHelpEvent.cs
- ObjectSecurity.cs
- RectIndependentAnimationStorage.cs
- DrawingAttributes.cs
- DescriptionAttribute.cs
- AppSettingsExpressionBuilder.cs
- UpdateTracker.cs
- OleAutBinder.cs
- DbProviderConfigurationHandler.cs
- StrongBox.cs
- XmlSchemas.cs
- XmlSchemaIdentityConstraint.cs
- DbConnectionInternal.cs
- DataControlFieldHeaderCell.cs
- ListItemsPage.cs
- CriticalHandle.cs
- RegisteredHiddenField.cs
- TextEffect.cs
- SqlRemoveConstantOrderBy.cs
- SettingsPropertyIsReadOnlyException.cs
- MultiSelectRootGridEntry.cs
- XamlBrushSerializer.cs
- StoreContentChangedEventArgs.cs
- AddValidationError.cs
- Object.cs
- SerializationInfoEnumerator.cs
- ClickablePoint.cs
- CultureInfo.cs
- ValidatedControlConverter.cs
- TraceRecord.cs
- EntityContainerAssociationSet.cs
- DataService.cs
- BindableTemplateBuilder.cs
- MailMessageEventArgs.cs
- IERequestCache.cs
- ComponentCommands.cs
- RuleSettings.cs
- BufferModesCollection.cs
- SecurityIdentifierConverter.cs