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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BaseParser.cs
- ContextBase.cs
- BmpBitmapEncoder.cs
- ThreadStartException.cs
- TypeExtension.cs
- XPathDocumentIterator.cs
- DesignTable.cs
- BaseCodePageEncoding.cs
- CapabilitiesRule.cs
- SiteMapProvider.cs
- HttpApplication.cs
- CSharpCodeProvider.cs
- DrawingContextWalker.cs
- PersianCalendar.cs
- InputReport.cs
- RadioButtonRenderer.cs
- StatusBarItem.cs
- ScriptingJsonSerializationSection.cs
- SudsWriter.cs
- SessionEndedEventArgs.cs
- TraceLevelHelper.cs
- WindowsTokenRoleProvider.cs
- ExceptionHandlers.cs
- ExplicitDiscriminatorMap.cs
- DataGridViewComboBoxColumn.cs
- XmlSchemaComplexContentExtension.cs
- SimpleModelProvider.cs
- ConstructorExpr.cs
- FullTextBreakpoint.cs
- _UriSyntax.cs
- DefaultValueConverter.cs
- ObjectDataSourceDesigner.cs
- ExceptionHelpers.cs
- Documentation.cs
- TemplateEditingService.cs
- ParameterBuilder.cs
- ObfuscationAttribute.cs
- ContentTextAutomationPeer.cs
- EngineSite.cs
- RectangleF.cs
- WindowsAltTab.cs
- Base64Stream.cs
- DataBoundControlHelper.cs
- CodeGotoStatement.cs
- WebBrowserUriTypeConverter.cs
- Lease.cs
- DataGridCaption.cs
- InfoCardUIAgent.cs
- HostingEnvironmentSection.cs
- CompositeTypefaceMetrics.cs
- Rule.cs
- ParamArrayAttribute.cs
- QueryOptionExpression.cs
- CodeTypeReference.cs
- COM2PropertyBuilderUITypeEditor.cs
- StaticFileHandler.cs
- ExpressionNormalizer.cs
- Pool.cs
- ManipulationPivot.cs
- GeometryModel3D.cs
- DrawingCollection.cs
- Rect3DValueSerializer.cs
- FocusManager.cs
- ArgIterator.cs
- InteropAutomationProvider.cs
- DataBindingsDialog.cs
- XmlTypeAttribute.cs
- basemetadatamappingvisitor.cs
- XmlDownloadManager.cs
- SQLBytes.cs
- WebPartConnectionsConnectVerb.cs
- Collection.cs
- EntityDataSourceSelectedEventArgs.cs
- AnnotationMap.cs
- ApplicationBuildProvider.cs
- MobileControlBuilder.cs
- Connection.cs
- MappingModelBuildProvider.cs
- IdentifierCollection.cs
- CalendarDay.cs
- ModifierKeysValueSerializer.cs
- Compilation.cs
- PeerCollaborationPermission.cs
- WebContentFormatHelper.cs
- OptimalBreakSession.cs
- XsdDateTime.cs
- Vector3DKeyFrameCollection.cs
- MessageLogger.cs
- FileAuthorizationModule.cs
- CompositeFontFamily.cs
- RequestCachePolicy.cs
- querybuilder.cs
- MultiView.cs
- MetaChildrenColumn.cs
- WorkflowEventArgs.cs
- ColumnResizeAdorner.cs
- Tokenizer.cs
- LambdaCompiler.Statements.cs
- ValidationEventArgs.cs
- IPAddressCollection.cs