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
- DocumentViewerHelper.cs
- DocumentReferenceCollection.cs
- TextViewSelectionProcessor.cs
- CompoundFileStorageReference.cs
- SharedDp.cs
- BmpBitmapEncoder.cs
- IgnoreFlushAndCloseStream.cs
- TableCell.cs
- SR.Designer.cs
- TextTreeTextNode.cs
- LayoutDump.cs
- EnvelopedPkcs7.cs
- CacheSection.cs
- RSAPKCS1SignatureDeformatter.cs
- CannotUnloadAppDomainException.cs
- ServiceChannelFactory.cs
- LoginUtil.cs
- ResXBuildProvider.cs
- WeakReference.cs
- StorageAssociationTypeMapping.cs
- HttpWebRequest.cs
- Internal.cs
- SessionStateItemCollection.cs
- XmlSchemaAnnotated.cs
- SessionEndedEventArgs.cs
- StdValidatorsAndConverters.cs
- SystemPens.cs
- DbDataAdapter.cs
- SynchronizationFilter.cs
- TypeNameConverter.cs
- DataGridViewRowHeaderCell.cs
- TextBoxRenderer.cs
- XmlDataDocument.cs
- SafeThemeHandle.cs
- VectorKeyFrameCollection.cs
- Bezier.cs
- RepeatBehavior.cs
- CFGGrammar.cs
- SafeFileMappingHandle.cs
- FontConverter.cs
- BitVector32.cs
- NetworkInformationPermission.cs
- WinEventHandler.cs
- PenCursorManager.cs
- TdsEnums.cs
- TrustLevel.cs
- RelationshipSet.cs
- Ops.cs
- NullableConverter.cs
- TabRenderer.cs
- SchemaAttDef.cs
- SwitchElementsCollection.cs
- MappedMetaModel.cs
- PointLightBase.cs
- ChildChangedEventArgs.cs
- BuildProvider.cs
- X509CertificateCollection.cs
- LocalizationCodeDomSerializer.cs
- PageSettings.cs
- BitmapEffectInputData.cs
- XmlILAnnotation.cs
- ObjectHandle.cs
- ParameterToken.cs
- TextOnlyOutput.cs
- AdCreatedEventArgs.cs
- Internal.cs
- ProxyElement.cs
- StartUpEventArgs.cs
- XmlILStorageConverter.cs
- ObjectToModelValueConverter.cs
- Win32SafeHandles.cs
- CallbackCorrelationInitializer.cs
- ComponentCollection.cs
- LinearKeyFrames.cs
- ScriptReference.cs
- XhtmlTextWriter.cs
- Style.cs
- StyleSheetDesigner.cs
- KeyTime.cs
- MimeParameter.cs
- StyleCollection.cs
- UserValidatedEventArgs.cs
- DefaultAssemblyResolver.cs
- BasicViewGenerator.cs
- ExpressionCopier.cs
- CultureSpecificStringDictionary.cs
- FloaterBaseParaClient.cs
- XmlMtomWriter.cs
- ArglessEventHandlerProxy.cs
- TextBoxBase.cs
- SoapAttributeAttribute.cs
- IChannel.cs
- TreeChangeInfo.cs
- ExtendedProtectionPolicy.cs
- TakeOrSkipQueryOperator.cs
- BridgeDataRecord.cs
- securitycriticaldata.cs
- NumberFormatInfo.cs
- TextEditorParagraphs.cs
- EnumValidator.cs