Code:
/ DotNET / DotNET / 8.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
- UniqueTransportManagerRegistration.cs
- Clock.cs
- InternalPermissions.cs
- ClickablePoint.cs
- ColorAnimation.cs
- ListBoxItemWrapperAutomationPeer.cs
- SelectedCellsChangedEventArgs.cs
- SystemIcmpV4Statistics.cs
- LogicalChannel.cs
- ServiceContractViewControl.cs
- UnknownBitmapDecoder.cs
- Vector3DAnimationUsingKeyFrames.cs
- GenericTypeParameterBuilder.cs
- WebAdminConfigurationHelper.cs
- PasswordDeriveBytes.cs
- DataTableNewRowEvent.cs
- WebPartCatalogAddVerb.cs
- PenContexts.cs
- RepeatButton.cs
- FilterException.cs
- WindowsProgressbar.cs
- WebHostScriptMappingsInstallComponent.cs
- WmlLabelAdapter.cs
- OdbcEnvironment.cs
- UriParserTemplates.cs
- JsonSerializer.cs
- ThreadLocal.cs
- IISUnsafeMethods.cs
- FileChangeNotifier.cs
- CodeStatement.cs
- StrongName.cs
- ReliabilityContractAttribute.cs
- WindowsGraphicsCacheManager.cs
- AttachmentCollection.cs
- XmlSerializationGeneratedCode.cs
- AlternateViewCollection.cs
- ConnectionsZone.cs
- XmlElementAttributes.cs
- ScriptResourceHandler.cs
- HttpAsyncResult.cs
- DynamicDocumentPaginator.cs
- FixedFlowMap.cs
- SoapSchemaMember.cs
- AccessDataSourceView.cs
- RoutedPropertyChangedEventArgs.cs
- MonikerProxyAttribute.cs
- TransformerTypeCollection.cs
- Popup.cs
- SecurityContext.cs
- XmlChildEnumerator.cs
- FakeModelItemImpl.cs
- FormsAuthenticationCredentials.cs
- TreeNodeBindingCollection.cs
- SecurityKeyType.cs
- CodeMemberProperty.cs
- CommentAction.cs
- CodeAccessSecurityEngine.cs
- SmtpLoginAuthenticationModule.cs
- Transform3DGroup.cs
- oledbmetadatacolumnnames.cs
- DSASignatureDeformatter.cs
- HealthMonitoringSectionHelper.cs
- CompositeControl.cs
- ConfigXmlReader.cs
- XmlSchemaProviderAttribute.cs
- PlanCompiler.cs
- ThreadStaticAttribute.cs
- SBCSCodePageEncoding.cs
- LayoutDump.cs
- XmlSchemaFacet.cs
- SqlConnectionString.cs
- AuthorizationRule.cs
- BufferedMessageData.cs
- JournalNavigationScope.cs
- QilScopedVisitor.cs
- SpecialTypeDataContract.cs
- FormatSettings.cs
- NewItemsContextMenuStrip.cs
- DataObjectMethodAttribute.cs
- SqlMethodAttribute.cs
- SqlTopReducer.cs
- shaperfactory.cs
- FontUnit.cs
- SafeNativeMethodsMilCoreApi.cs
- XmlSchemaDocumentation.cs
- SafeCryptoHandles.cs
- StackBuilderSink.cs
- OleDbError.cs
- ReflectionHelper.cs
- BuilderPropertyEntry.cs
- TextProviderWrapper.cs
- UserPreferenceChangingEventArgs.cs
- HMACSHA384.cs
- CaseInsensitiveComparer.cs
- WebServiceTypeData.cs
- WebPartConnectionCollection.cs
- CodeGroup.cs
- EntityContainerRelationshipSetEnd.cs
- CompilationRelaxations.cs
- XmlFormatWriterGenerator.cs