Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BindingValueChangedEventArgs.cs
- SourceElementsCollection.cs
- SerializerWriterEventHandlers.cs
- ClientConfigurationSystem.cs
- IPPacketInformation.cs
- XmlCDATASection.cs
- AutomationPropertyInfo.cs
- ConnectionManagementSection.cs
- ClockGroup.cs
- PointLight.cs
- BinaryFormatter.cs
- MachineKeyConverter.cs
- StructureChangedEventArgs.cs
- IImplicitResourceProvider.cs
- ObjectDataSourceDesigner.cs
- Transform.cs
- MeshGeometry3D.cs
- PointAnimation.cs
- CallSiteHelpers.cs
- EnumBuilder.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- ToolboxItemCollection.cs
- TreeNodeCollectionEditor.cs
- EmissiveMaterial.cs
- Listbox.cs
- ConfigurationPropertyCollection.cs
- PanelStyle.cs
- DocumentPageView.cs
- comcontractssection.cs
- BridgeDataRecord.cs
- WmlTextBoxAdapter.cs
- DBConcurrencyException.cs
- FileDialog_Vista.cs
- InstanceCreationEditor.cs
- XmlILModule.cs
- WebScriptMetadataFormatter.cs
- WorkflowDefinitionDispenser.cs
- HttpListenerException.cs
- ConstructorBuilder.cs
- HttpCookie.cs
- TypeConverterHelper.cs
- GiveFeedbackEventArgs.cs
- DbExpressionRules.cs
- SerializeAbsoluteContext.cs
- X509Chain.cs
- SendMailErrorEventArgs.cs
- DataGridViewSortCompareEventArgs.cs
- StorageMappingItemCollection.cs
- StopStoryboard.cs
- Exceptions.cs
- DataObjectPastingEventArgs.cs
- PageThemeCodeDomTreeGenerator.cs
- NativeMethods.cs
- UniqueEventHelper.cs
- CommandValueSerializer.cs
- ProviderManager.cs
- DataService.cs
- Queue.cs
- Page.cs
- Vector3DAnimationUsingKeyFrames.cs
- _ScatterGatherBuffers.cs
- Configuration.cs
- Variant.cs
- InputReport.cs
- DeclarativeCatalogPart.cs
- BitmapEffectGroup.cs
- CacheChildrenQuery.cs
- TimeSpanParse.cs
- SchemaRegistration.cs
- DBSchemaRow.cs
- LinkClickEvent.cs
- DeferrableContentConverter.cs
- ExecutorLocksHeldException.cs
- QueryResults.cs
- ProfilePropertySettingsCollection.cs
- NameValuePermission.cs
- XmlSerializerVersionAttribute.cs
- XmlSerializableWriter.cs
- DefaultAsyncDataDispatcher.cs
- QilFunction.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- TraceListeners.cs
- BaseValidator.cs
- DeferredSelectedIndexReference.cs
- CompensationDesigner.cs
- DNS.cs
- MenuBase.cs
- ZoomPercentageConverter.cs
- Confirm.cs
- TextTreeUndo.cs
- Separator.cs
- XPathParser.cs
- ListCollectionView.cs
- ColorTranslator.cs
- ListenUriMode.cs
- base64Transforms.cs
- JsonFormatGeneratorStatics.cs
- CreateUserErrorEventArgs.cs
- LinkAreaEditor.cs
- GACIdentityPermission.cs