Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectDataSourceEventArgs.cs
- ListenerConnectionModeReader.cs
- SystemIcmpV6Statistics.cs
- SubclassTypeValidator.cs
- IncrementalReadDecoders.cs
- EntityDataSourceStatementEditorForm.cs
- RtfFormatStack.cs
- TextEndOfLine.cs
- WMIGenerator.cs
- CookielessHelper.cs
- ComboBox.cs
- Formatter.cs
- AttachInfo.cs
- WebPartDisplayMode.cs
- ConnectionsZone.cs
- sqlmetadatafactory.cs
- TableRowCollection.cs
- CommunicationObject.cs
- TemplatePropertyEntry.cs
- InputScopeNameConverter.cs
- DataPagerCommandEventArgs.cs
- Byte.cs
- RepeaterItem.cs
- XNameConverter.cs
- XmlDocumentType.cs
- HtmlElementEventArgs.cs
- InstallHelper.cs
- XmlAttributes.cs
- GatewayDefinition.cs
- ReliabilityContractAttribute.cs
- WebPageTraceListener.cs
- MemberRelationshipService.cs
- RoutedPropertyChangedEventArgs.cs
- ExtentKey.cs
- Lease.cs
- HttpException.cs
- WmfPlaceableFileHeader.cs
- StretchValidation.cs
- DbUpdateCommandTree.cs
- MemberDescriptor.cs
- LinkedList.cs
- ArrangedElementCollection.cs
- ToolStripItemTextRenderEventArgs.cs
- ProtocolsConfigurationHandler.cs
- SqlNodeTypeOperators.cs
- NativeMethods.cs
- TableLayoutStyle.cs
- Membership.cs
- GAC.cs
- SpotLight.cs
- _SslSessionsCache.cs
- MessageTransmitTraceRecord.cs
- GridViewRowPresenterBase.cs
- cookie.cs
- CleanUpVirtualizedItemEventArgs.cs
- SafeCryptoHandles.cs
- MethodExecutor.cs
- ExtensionSimplifierMarkupObject.cs
- HybridObjectCache.cs
- FontSource.cs
- CodeStatementCollection.cs
- CodeMemberEvent.cs
- SecurityCriticalDataForSet.cs
- SqlHelper.cs
- Membership.cs
- IChannel.cs
- AppLevelCompilationSectionCache.cs
- Events.cs
- FunctionDetailsReader.cs
- BridgeDataRecord.cs
- OfTypeExpression.cs
- CustomErrorsSectionWrapper.cs
- KnownTypesProvider.cs
- SoapInteropTypes.cs
- StringAttributeCollection.cs
- DispatchProxy.cs
- GridItemPattern.cs
- FixedSOMElement.cs
- BitArray.cs
- LeafCellTreeNode.cs
- Events.cs
- ApplicationGesture.cs
- Camera.cs
- TriggerCollection.cs
- NavigationPropertyAccessor.cs
- ToolStripItemImageRenderEventArgs.cs
- Crc32.cs
- FileSystemWatcher.cs
- UserPrincipalNameElement.cs
- PropertyGridEditorPart.cs
- CharacterMetricsDictionary.cs
- OdbcCommandBuilder.cs
- DoubleLink.cs
- Exceptions.cs
- HttpFileCollectionWrapper.cs
- EntityCommandCompilationException.cs
- ScriptRef.cs
- MemberInfoSerializationHolder.cs
- TemplateColumn.cs
- TraceListener.cs