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
- HttpServerProtocol.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- PreviewPrintController.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- TemplateLookupAction.cs
- Scene3D.cs
- ToolStripPanelCell.cs
- Empty.cs
- StateMachineDesignerPaint.cs
- RowBinding.cs
- CodeTypeMemberCollection.cs
- CompiledQuery.cs
- RecommendedAsConfigurableAttribute.cs
- UserInitiatedNavigationPermission.cs
- SymbolDocumentInfo.cs
- LiteralDesigner.cs
- Base64Stream.cs
- SHA384Managed.cs
- MenuEventArgs.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- RMEnrollmentPage3.cs
- cache.cs
- RefreshResponseInfo.cs
- Point3DConverter.cs
- IPAddress.cs
- AddInBase.cs
- TableItemStyle.cs
- TabItem.cs
- MimeFormatter.cs
- MailHeaderInfo.cs
- OdbcConnectionPoolProviderInfo.cs
- HttpClientProtocol.cs
- SBCSCodePageEncoding.cs
- Rect3DConverter.cs
- FaultContext.cs
- ResXFileRef.cs
- ConfigXmlComment.cs
- DynamicControl.cs
- ToolStripSettings.cs
- TaiwanCalendar.cs
- TextSchema.cs
- SelectionItemPatternIdentifiers.cs
- WebServiceEnumData.cs
- XmlSchemaSimpleContentExtension.cs
- DelegateSerializationHolder.cs
- SqlTypeSystemProvider.cs
- MaterialCollection.cs
- UnmanagedMarshal.cs
- MetadataCacheItem.cs
- FacetValueContainer.cs
- HwndSource.cs
- X509CertificateValidationMode.cs
- IncrementalReadDecoders.cs
- PreProcessInputEventArgs.cs
- AbstractSvcMapFileLoader.cs
- XmlSerializerVersionAttribute.cs
- VarRemapper.cs
- ScriptingSectionGroup.cs
- DesignerSelectionListAdapter.cs
- Size3D.cs
- UiaCoreApi.cs
- EntityDataSourceMemberPath.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DirectoryInfo.cs
- DataListCommandEventArgs.cs
- DataRowCollection.cs
- CompoundFileReference.cs
- AdornerPresentationContext.cs
- XmlDataSource.cs
- HttpSysSettings.cs
- ActivityAction.cs
- ListViewGroupItemCollection.cs
- ProtectedConfigurationSection.cs
- CompilerScope.Storage.cs
- GlobalizationAssembly.cs
- FontCollection.cs
- FieldToken.cs
- VsPropertyGrid.cs
- SevenBitStream.cs
- CodeExpressionStatement.cs
- SiteMapDataSource.cs
- ColorPalette.cs
- DelegateArgument.cs
- ArgumentOutOfRangeException.cs
- ConstructorBuilder.cs
- StreamResourceInfo.cs
- ScriptBehaviorDescriptor.cs
- UnsupportedPolicyOptionsException.cs
- DataRowChangeEvent.cs
- MouseWheelEventArgs.cs
- GridViewPageEventArgs.cs
- CustomAttributeBuilder.cs
- NamedPermissionSet.cs
- ResourceExpressionBuilder.cs
- MeshGeometry3D.cs
- Point3DCollectionConverter.cs
- ButtonBase.cs
- HtmlInputSubmit.cs
- HiddenFieldDesigner.cs
- CharacterMetrics.cs