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
- OrderedDictionaryStateHelper.cs
- EventLogPermissionEntryCollection.cs
- CollectionType.cs
- CompatibleIComparer.cs
- Viewport2DVisual3D.cs
- SplitterPanel.cs
- MetadataPropertyvalue.cs
- OdbcConnectionStringbuilder.cs
- TypeDelegator.cs
- FormatterConverter.cs
- ControlIdConverter.cs
- ProvideValueServiceProvider.cs
- SecurityTokenSerializer.cs
- DictionaryEntry.cs
- LinqDataSourceEditData.cs
- HandleExceptionArgs.cs
- MimeMultiPart.cs
- Stack.cs
- PrePostDescendentsWalker.cs
- PowerModeChangedEventArgs.cs
- VariableExpressionConverter.cs
- DefaultObjectMappingItemCollection.cs
- TextEditorSpelling.cs
- SqlDataSourceSelectingEventArgs.cs
- PersonalizationStateInfo.cs
- SQLInt64Storage.cs
- XmlHierarchyData.cs
- SslStream.cs
- Hash.cs
- StsCommunicationException.cs
- Rect.cs
- RootAction.cs
- ViewService.cs
- SolidColorBrush.cs
- Button.cs
- TextElementEnumerator.cs
- VSWCFServiceContractGenerator.cs
- Psha1DerivedKeyGenerator.cs
- RegexCapture.cs
- Bitmap.cs
- TargetInvocationException.cs
- DashStyle.cs
- FactoryId.cs
- MsmqDecodeHelper.cs
- InheritablePropertyChangeInfo.cs
- TextAdaptor.cs
- XmlElementElement.cs
- ObjectDataSourceDesigner.cs
- ConfigurationLoaderException.cs
- Action.cs
- SiteMapProvider.cs
- ParamArrayAttribute.cs
- WorkflowQueue.cs
- BrowserDefinition.cs
- PageFunction.cs
- LinkClickEvent.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- DPAPIProtectedConfigurationProvider.cs
- CodeCommentStatementCollection.cs
- securestring.cs
- Registry.cs
- TextClipboardData.cs
- SystemDropShadowChrome.cs
- SafeWaitHandle.cs
- HttpContextWrapper.cs
- TextProperties.cs
- TextRange.cs
- WebPartDisplayModeCollection.cs
- cryptoapiTransform.cs
- oledbconnectionstring.cs
- ListBase.cs
- AddingNewEventArgs.cs
- PopupRoot.cs
- DBPropSet.cs
- OverlappedAsyncResult.cs
- CrossSiteScriptingValidation.cs
- ClientSection.cs
- TextTabProperties.cs
- ColorTranslator.cs
- PageVisual.cs
- SecurityException.cs
- _StreamFramer.cs
- TCEAdapterGenerator.cs
- QueuePathDialog.cs
- DecimalAverageAggregationOperator.cs
- DocumentPaginator.cs
- ClickablePoint.cs
- MailHeaderInfo.cs
- CopyCodeAction.cs
- HMACSHA1.cs
- ScriptingProfileServiceSection.cs
- Normalization.cs
- CellTreeSimplifier.cs
- DataObjectCopyingEventArgs.cs
- InvalidWorkflowException.cs
- TextAnchor.cs
- HierarchicalDataSourceControl.cs
- ClientFormsIdentity.cs
- DbInsertCommandTree.cs
- PinnedBufferMemoryStream.cs