Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- MimeObjectFactory.cs
- ResXResourceWriter.cs
- BitmapCache.cs
- UriExt.cs
- TextBoxBase.cs
- PageBuildProvider.cs
- __FastResourceComparer.cs
- ColumnWidthChangedEvent.cs
- TextBox.cs
- GatewayDefinition.cs
- dataprotectionpermission.cs
- SqlLiftWhereClauses.cs
- WebPartsPersonalization.cs
- DbTypeMap.cs
- Parameter.cs
- ThemeDirectoryCompiler.cs
- DesignTimeTemplateParser.cs
- Transform.cs
- XamlSerializationHelper.cs
- Exceptions.cs
- WasNotInstalledException.cs
- RijndaelManaged.cs
- HostingEnvironment.cs
- Vector3DConverter.cs
- counter.cs
- SymbolDocumentGenerator.cs
- XamlReaderHelper.cs
- ProgressBarRenderer.cs
- SRGSCompiler.cs
- RawStylusActions.cs
- ValueTypeIndexerReference.cs
- ReadOnlyMetadataCollection.cs
- PreviewPageInfo.cs
- SafeNativeMethods.cs
- ComponentCollection.cs
- WebRequestModuleElement.cs
- SoapEnvelopeProcessingElement.cs
- DllHostInitializer.cs
- AttributeCollection.cs
- BamlRecordHelper.cs
- DataControlReferenceCollection.cs
- DocumentAutomationPeer.cs
- NamespaceList.cs
- EnumUnknown.cs
- SecurityTokenSpecification.cs
- DetailsViewPageEventArgs.cs
- DataGridViewBindingCompleteEventArgs.cs
- XmlResolver.cs
- FunctionDetailsReader.cs
- SimpleBitVector32.cs
- BuildDependencySet.cs
- SocketInformation.cs
- FormsIdentity.cs
- DataRowChangeEvent.cs
- FunctionCommandText.cs
- ModelTreeEnumerator.cs
- EntityContainerEmitter.cs
- ProfileInfo.cs
- Style.cs
- IPEndPoint.cs
- KnownTypesProvider.cs
- AssemblyBuilder.cs
- Table.cs
- streamingZipPartStream.cs
- TerminatorSinks.cs
- BitmapSource.cs
- MetadataItemEmitter.cs
- ParagraphResult.cs
- OutputScopeManager.cs
- WindowsSolidBrush.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- HtmlShimManager.cs
- BaseDataListPage.cs
- DrawListViewSubItemEventArgs.cs
- CriticalFileToken.cs
- BaseUriHelper.cs
- LoadRetryStrategyFactory.cs
- DataSourceIDConverter.cs
- SqlWriter.cs
- VolatileEnlistmentState.cs
- DataRow.cs
- ProtectedUri.cs
- ChangeBlockUndoRecord.cs
- LayoutSettings.cs
- ISAPIApplicationHost.cs
- DesignerHierarchicalDataSourceView.cs
- PermissionSetEnumerator.cs
- DaylightTime.cs
- __FastResourceComparer.cs
- SetState.cs
- ObjectDataProvider.cs
- FastEncoderWindow.cs
- NumberSubstitution.cs
- FileDialog.cs
- StyleXamlParser.cs
- AttributeProviderAttribute.cs
- DataListItem.cs
- LayoutTable.cs
- ToolStripItem.cs
- TextTreeText.cs