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
- SimpleWebHandlerParser.cs
- TextBlockAutomationPeer.cs
- ImageFormat.cs
- PropertyDescriptorGridEntry.cs
- DataControlCommands.cs
- RequestDescription.cs
- EntityDataSourceUtil.cs
- IsolationInterop.cs
- ClientType.cs
- NavigatingCancelEventArgs.cs
- HashSetEqualityComparer.cs
- DataGridViewCheckBoxColumn.cs
- GeometryCollection.cs
- RuntimeResourceSet.cs
- TypeDescriptionProvider.cs
- ObjectTag.cs
- _SingleItemRequestCache.cs
- PrintDialogException.cs
- BitmapFrame.cs
- MarshalByRefObject.cs
- DataSpaceManager.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- OpenTypeLayoutCache.cs
- FileSystemInfo.cs
- StickyNoteAnnotations.cs
- UnsafeNativeMethods.cs
- CopyOfAction.cs
- XmlElementAttribute.cs
- ActivityScheduledRecord.cs
- PaperSize.cs
- DesignerTransaction.cs
- InProcStateClientManager.cs
- AssemblyNameUtility.cs
- SqlParameterCollection.cs
- DefaultValueConverter.cs
- SqlTransaction.cs
- ShapingWorkspace.cs
- Tracer.cs
- Utils.cs
- RealProxy.cs
- TransactionFlowBindingElementImporter.cs
- BatchServiceHost.cs
- NamespaceListProperty.cs
- InternalException.cs
- PermissionSetEnumerator.cs
- AnnotationHighlightLayer.cs
- ContentPropertyAttribute.cs
- coordinatorfactory.cs
- Constraint.cs
- PasswordPropertyTextAttribute.cs
- MetafileEditor.cs
- FlatButtonAppearance.cs
- SerialStream.cs
- Viewport3DVisual.cs
- StringReader.cs
- BackStopAuthenticationModule.cs
- SerialPinChanges.cs
- CompilerCollection.cs
- PipeStream.cs
- ObjectPropertyMapping.cs
- AnimationTimeline.cs
- ServiceDefaults.cs
- XmlSchemaAttributeGroupRef.cs
- SpnEndpointIdentityExtension.cs
- _FixedSizeReader.cs
- ResXResourceReader.cs
- BitmapEffectGeneralTransform.cs
- MetaTableHelper.cs
- TypeKeyValue.cs
- StickyNote.cs
- PenContexts.cs
- RolePrincipal.cs
- TextServicesProperty.cs
- DataGridViewColumnCollection.cs
- Menu.cs
- EntityTypeBase.cs
- MDIControlStrip.cs
- ArraySortHelper.cs
- WindowsTokenRoleProvider.cs
- TextBounds.cs
- AuthenticatedStream.cs
- MobileResource.cs
- LeftCellWrapper.cs
- XmlEncodedRawTextWriter.cs
- MobileComponentEditorPage.cs
- XsdDuration.cs
- sqlstateclientmanager.cs
- DefaultEventAttribute.cs
- XamlSerializationHelper.cs
- ProgressBar.cs
- EventEntry.cs
- precedingsibling.cs
- Glyph.cs
- HttpProxyTransportBindingElement.cs
- DataServiceHost.cs
- FileDetails.cs
- FormsAuthentication.cs
- ImportCatalogPart.cs
- EmbeddedMailObjectsCollection.cs
- SendingRequestEventArgs.cs