Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ItemChangedEventArgs.cs
- MenuStrip.cs
- DllNotFoundException.cs
- ZipIOBlockManager.cs
- ReadOnlyDataSourceView.cs
- RectAnimationClockResource.cs
- DragDrop.cs
- SqlTypeConverter.cs
- _NegotiateClient.cs
- LineGeometry.cs
- HierarchicalDataTemplate.cs
- AffineTransform3D.cs
- StoreItemCollection.cs
- ItemsChangedEventArgs.cs
- GeneralTransform3DCollection.cs
- AccessDataSource.cs
- QuadTree.cs
- RadioButtonPopupAdapter.cs
- PasswordTextNavigator.cs
- ControlBuilderAttribute.cs
- NamedElement.cs
- StrokeNodeData.cs
- TextBounds.cs
- ConstraintEnumerator.cs
- EntityViewGenerationAttribute.cs
- VisualCollection.cs
- UnmanagedMemoryStreamWrapper.cs
- ForeignConstraint.cs
- HandlerFactoryWrapper.cs
- DataGridGeneralPage.cs
- StateFinalizationDesigner.cs
- FilterQueryOptionExpression.cs
- EntityFrameworkVersions.cs
- RC2.cs
- ScrollContentPresenter.cs
- StrokeCollection2.cs
- _NegotiateClient.cs
- XmlIterators.cs
- EntityContainer.cs
- IsolatedStorageFilePermission.cs
- WorkflowInstanceExtensionProvider.cs
- ConfigXmlComment.cs
- PixelFormatConverter.cs
- StreamingContext.cs
- HttpInputStream.cs
- GrabHandleGlyph.cs
- MasterPageParser.cs
- HostExecutionContextManager.cs
- CompilerState.cs
- Positioning.cs
- SpellerError.cs
- TextBoxBase.cs
- FontNamesConverter.cs
- OdbcCommand.cs
- IndentedWriter.cs
- WebPartExportVerb.cs
- StrongNamePublicKeyBlob.cs
- SqlExpressionNullability.cs
- FieldTemplateUserControl.cs
- EditingMode.cs
- ControlDesigner.cs
- TableColumnCollection.cs
- StylusPlugInCollection.cs
- SerialErrors.cs
- TypeExtensionConverter.cs
- Compiler.cs
- XmlSchemaException.cs
- EntityDataSourceReferenceGroup.cs
- WebPageTraceListener.cs
- ByteRangeDownloader.cs
- DataControlButton.cs
- OrderingQueryOperator.cs
- ContentTextAutomationPeer.cs
- ObjectQueryProvider.cs
- SqlClientWrapperSmiStream.cs
- EventLogPermission.cs
- DesignerValidationSummaryAdapter.cs
- DocumentPageHost.cs
- NameValueFileSectionHandler.cs
- DbExpressionVisitor.cs
- RemoteHelper.cs
- _LazyAsyncResult.cs
- ResourceDictionary.cs
- HttpWebResponse.cs
- FrameworkReadOnlyPropertyMetadata.cs
- MonthCalendar.cs
- ParagraphResult.cs
- RegisteredDisposeScript.cs
- ParserOptions.cs
- ControlBuilderAttribute.cs
- TextRangeProviderWrapper.cs
- PropertyDescriptor.cs
- PersonalizationProvider.cs
- Array.cs
- XPathNodeHelper.cs
- ControlIdConverter.cs
- SelectionUIHandler.cs
- EntityKey.cs
- AssemblyName.cs
- ImageConverter.cs