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
- GridItem.cs
- DropShadowBitmapEffect.cs
- WebPartEditorCancelVerb.cs
- HtmlInputSubmit.cs
- FileCodeGroup.cs
- DuplicateWaitObjectException.cs
- Site.cs
- MailMessageEventArgs.cs
- MatrixTransform3D.cs
- Page.cs
- QilFunction.cs
- DynamicActionMessageFilter.cs
- ArrayExtension.cs
- JsonServiceDocumentSerializer.cs
- CodeMemberMethod.cs
- InvalidProgramException.cs
- TypeConverterValueSerializer.cs
- CodeCatchClause.cs
- GradientPanel.cs
- AuthenticatingEventArgs.cs
- DisableDpiAwarenessAttribute.cs
- webproxy.cs
- XmlEntityReference.cs
- SelectionRangeConverter.cs
- ImageSourceTypeConverter.cs
- InteropAutomationProvider.cs
- ViewBox.cs
- WebBrowserPermission.cs
- StylusPlugin.cs
- EntityDataSourceViewSchema.cs
- URLAttribute.cs
- serverconfig.cs
- TreeViewDesigner.cs
- ComboBox.cs
- SqlBooleanizer.cs
- DeviceContext.cs
- ItemChangedEventArgs.cs
- WpfPayload.cs
- AtomPub10ServiceDocumentFormatter.cs
- SqlDataSource.cs
- ParameterReplacerVisitor.cs
- DesignerVerbCollection.cs
- SyntaxCheck.cs
- SystemFonts.cs
- DesignerAttribute.cs
- RequestCacheEntry.cs
- DateTimeFormatInfo.cs
- Icon.cs
- DataStreamFromComStream.cs
- MaterialGroup.cs
- SmuggledIUnknown.cs
- IPEndPointCollection.cs
- RequestQueryProcessor.cs
- BaseCollection.cs
- TextServicesCompartmentEventSink.cs
- Scripts.cs
- OutputCacheProfile.cs
- WinFormsSpinner.cs
- XamlTreeBuilder.cs
- LinqDataSourceDeleteEventArgs.cs
- GridViewUpdateEventArgs.cs
- WebConfigurationHostFileChange.cs
- Path.cs
- EndpointNotFoundException.cs
- MemberCollection.cs
- PersonalizationEntry.cs
- XmlExpressionDumper.cs
- TriggerBase.cs
- SqlDependencyUtils.cs
- DateTimeFormat.cs
- TemplateInstanceAttribute.cs
- DataFormats.cs
- Image.cs
- MasterPageParser.cs
- SqlDataSourceTableQuery.cs
- SqlTransaction.cs
- OdbcCommand.cs
- DrawingContextWalker.cs
- Matrix.cs
- KeyValuePairs.cs
- Point3DIndependentAnimationStorage.cs
- ConnectionManagementSection.cs
- TextTreeTextElementNode.cs
- SiteMapNode.cs
- CellCreator.cs
- ReferentialConstraint.cs
- ObfuscateAssemblyAttribute.cs
- ServicePointManagerElement.cs
- CreateInstanceBinder.cs
- XmlDesigner.cs
- SqlCommandBuilder.cs
- ListItemCollection.cs
- DataGridViewAdvancedBorderStyle.cs
- ProfileEventArgs.cs
- UnsafeNativeMethods.cs
- DelegatingTypeDescriptionProvider.cs
- KeyMatchBuilder.cs
- wgx_commands.cs
- ToolStripPanelRenderEventArgs.cs
- DataGridViewComboBoxCell.cs