Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CheckBoxList.cs
- BrowserPolicyValidator.cs
- SyndicationFeedFormatter.cs
- RuntimeArgumentHandle.cs
- DBSqlParserColumn.cs
- FlatButtonAppearance.cs
- Propagator.JoinPropagator.cs
- Util.cs
- GlyphsSerializer.cs
- DataControlCommands.cs
- DbDataAdapter.cs
- GeometryGroup.cs
- ApplicationInterop.cs
- ProfileManager.cs
- MailMessage.cs
- EpmCustomContentWriterNodeData.cs
- PropertiesTab.cs
- SystemColorTracker.cs
- Trace.cs
- contentDescriptor.cs
- ImageIndexConverter.cs
- XPathNavigatorException.cs
- Decimal.cs
- MenuEventArgs.cs
- DesignerHelpers.cs
- DragStartedEventArgs.cs
- SamlSubjectStatement.cs
- UrlMappingsModule.cs
- HierarchicalDataBoundControl.cs
- ErrorRuntimeConfig.cs
- ListBindingConverter.cs
- NativeMethods.cs
- HttpFileCollection.cs
- DataSourceXmlSubItemAttribute.cs
- WebPartHelpVerb.cs
- WinCategoryAttribute.cs
- ExtensibleClassFactory.cs
- MarkupExtensionSerializer.cs
- UniqueSet.cs
- SolidColorBrush.cs
- SQLDecimalStorage.cs
- LocalValueEnumerator.cs
- BinaryConverter.cs
- AbsoluteQuery.cs
- XamlHttpHandlerFactory.cs
- SqlInternalConnection.cs
- NetworkStream.cs
- DataColumn.cs
- ScaleTransform.cs
- Simplifier.cs
- SchemaNamespaceManager.cs
- WorkflowInvoker.cs
- SqlXmlStorage.cs
- MasterPageBuildProvider.cs
- EditorZoneAutoFormat.cs
- EventLog.cs
- FormsAuthenticationCredentials.cs
- Rect3DConverter.cs
- DetailsViewPagerRow.cs
- HttpListenerPrefixCollection.cs
- __FastResourceComparer.cs
- X509ThumbprintKeyIdentifierClause.cs
- CodeMemberProperty.cs
- DataGridViewRow.cs
- XmlSchemaCompilationSettings.cs
- ProfileManager.cs
- ColumnHeaderConverter.cs
- DataSourceCache.cs
- PolicyValidationException.cs
- CodeIdentifiers.cs
- ComponentSerializationService.cs
- WindowsMenu.cs
- DataBoundControl.cs
- NameValueSectionHandler.cs
- SafeNativeMethods.cs
- DataBoundControlActionList.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- HandlerWithFactory.cs
- COM2ExtendedBrowsingHandler.cs
- TraceContextRecord.cs
- DataExpression.cs
- DataTableReaderListener.cs
- ContextCorrelationInitializer.cs
- StylusOverProperty.cs
- ResourceDictionary.cs
- RelationshipEntry.cs
- GlyphsSerializer.cs
- TableLayout.cs
- HierarchicalDataBoundControl.cs
- ColorMatrix.cs
- SkinBuilder.cs
- XmlNodeComparer.cs
- FileDetails.cs
- ZipIOCentralDirectoryFileHeader.cs
- coordinator.cs
- SwitchLevelAttribute.cs
- HybridDictionary.cs
- RepeaterItem.cs
- SystemIcmpV6Statistics.cs
- DataServiceExpressionVisitor.cs