Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Timers / System / Timers / TimersDescriptionAttribute.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SessionStateUtil.cs
- _CacheStreams.cs
- SimpleNameService.cs
- ApplicationFileCodeDomTreeGenerator.cs
- CodeSnippetStatement.cs
- DependencyObjectType.cs
- VisualStyleInformation.cs
- CustomCredentialPolicy.cs
- RemoteArgument.cs
- NullableIntMinMaxAggregationOperator.cs
- PerformanceCounter.cs
- InputLanguageSource.cs
- UpdateTracker.cs
- ClearTypeHintValidation.cs
- Signature.cs
- DefaultTextStore.cs
- StrokeNodeOperations2.cs
- WebSysDescriptionAttribute.cs
- XmlDataContract.cs
- BamlMapTable.cs
- ActiveDocumentEvent.cs
- MarshalDirectiveException.cs
- AddDataControlFieldDialog.cs
- XmlSerializerFactory.cs
- StorageInfo.cs
- TextInfo.cs
- WebPart.cs
- PassportPrincipal.cs
- PkcsUtils.cs
- WindowsPrincipal.cs
- StateMachineWorkflowInstance.cs
- RuntimeIdentifierPropertyAttribute.cs
- UrlAuthorizationModule.cs
- RawStylusInputReport.cs
- CmsUtils.cs
- DuplexChannel.cs
- DataGridAutoFormatDialog.cs
- Compiler.cs
- GetTokenRequest.cs
- OperationInfo.cs
- XmlNode.cs
- PropertyHelper.cs
- UnaryNode.cs
- FieldNameLookup.cs
- Pair.cs
- LocatorGroup.cs
- SafeLibraryHandle.cs
- InlinedAggregationOperatorEnumerator.cs
- ContractReference.cs
- TableLayoutColumnStyleCollection.cs
- baseaxisquery.cs
- TextDpi.cs
- MatrixTransform3D.cs
- AssemblyInfo.cs
- SoapAttributeAttribute.cs
- SqlServer2KCompatibilityCheck.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- Message.cs
- DependencyObject.cs
- FileLevelControlBuilderAttribute.cs
- AutomationPropertyInfo.cs
- Brush.cs
- SectionInput.cs
- UxThemeWrapper.cs
- DiscoveryInnerClientAdhocCD1.cs
- ListSortDescriptionCollection.cs
- PageFunction.cs
- PenThread.cs
- PointHitTestParameters.cs
- WindowsRebar.cs
- InnerItemCollectionView.cs
- TextParagraphView.cs
- DetailsViewUpdatedEventArgs.cs
- VisualStyleTypesAndProperties.cs
- TableItemStyle.cs
- EventRouteFactory.cs
- WhitespaceRuleLookup.cs
- GridViewEditEventArgs.cs
- StylusSystemGestureEventArgs.cs
- String.cs
- regiisutil.cs
- InputScopeManager.cs
- ProtocolElement.cs
- FormsAuthenticationEventArgs.cs
- ParenthesizePropertyNameAttribute.cs
- DomNameTable.cs
- GridLengthConverter.cs
- CriticalExceptions.cs
- UrlMappingCollection.cs
- HttpStreamXmlDictionaryWriter.cs
- GetImportFileNameRequest.cs
- HtmlImage.cs
- DataControlImageButton.cs
- DataGridPreparingCellForEditEventArgs.cs
- ArrayElementGridEntry.cs
- XmlWriterTraceListener.cs
- ApplicationGesture.cs
- DefaultPropertyAttribute.cs
- DesignerAutoFormat.cs
- DocobjHost.cs