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
- DataSetUtil.cs
- ComboBoxRenderer.cs
- DeflateStreamAsyncResult.cs
- DataGridItemAttachedStorage.cs
- QilTernary.cs
- ColorConverter.cs
- XomlCompilerError.cs
- DurationConverter.cs
- ZipFileInfoCollection.cs
- ObjectCloneHelper.cs
- PersonalizableTypeEntry.cs
- AvtEvent.cs
- NativeMethods.cs
- LoadItemsEventArgs.cs
- ViewCellSlot.cs
- COM2ComponentEditor.cs
- ToolStripContainerActionList.cs
- DummyDataSource.cs
- TemplateXamlTreeBuilder.cs
- WebBrowserHelper.cs
- EventLogInformation.cs
- QuotedStringFormatReader.cs
- FileDialogCustomPlacesCollection.cs
- CfgArc.cs
- TypeInfo.cs
- FunctionImportMapping.cs
- AuthenticationModulesSection.cs
- ScriptResourceAttribute.cs
- PowerEase.cs
- WorkItem.cs
- WebSysDefaultValueAttribute.cs
- DataGridViewCellValidatingEventArgs.cs
- MobileControlsSectionHelper.cs
- _BufferOffsetSize.cs
- CollaborationHelperFunctions.cs
- DataTablePropertyDescriptor.cs
- PaginationProgressEventArgs.cs
- HandledMouseEvent.cs
- SetIndexBinder.cs
- CollectionType.cs
- SchemaImporterExtensionElement.cs
- StreamedFramingRequestChannel.cs
- AnimationException.cs
- ToolStripMenuItem.cs
- Camera.cs
- DynamicQueryableWrapper.cs
- TextProperties.cs
- TimeManager.cs
- TextClipboardData.cs
- AnnotationHighlightLayer.cs
- ApplicationException.cs
- SHA512Managed.cs
- SymDocumentType.cs
- TextAction.cs
- SmtpCommands.cs
- WrappingXamlSchemaContext.cs
- BehaviorEditorPart.cs
- ControlParameter.cs
- DataGridViewTextBoxColumn.cs
- WebAdminConfigurationHelper.cs
- XsltCompileContext.cs
- MetadataUtilsSmi.cs
- RuleInfoComparer.cs
- ZipIOModeEnforcingStream.cs
- SimpleExpression.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- WorkflowInspectionServices.cs
- MultipleCopiesCollection.cs
- DbProviderConfigurationHandler.cs
- PlainXmlWriter.cs
- XmlElementAttributes.cs
- Transform.cs
- SpellerStatusTable.cs
- CustomError.cs
- DurationConverter.cs
- DecoderFallback.cs
- Clipboard.cs
- CustomAttributeFormatException.cs
- FormViewInsertEventArgs.cs
- PrtCap_Builder.cs
- MulticastIPAddressInformationCollection.cs
- CacheChildrenQuery.cs
- EpmSourceTree.cs
- UrlAuthFailedErrorFormatter.cs
- SafeEventLogReadHandle.cs
- AssemblyAttributesGoHere.cs
- DbProviderSpecificTypePropertyAttribute.cs
- FrugalMap.cs
- ColumnResult.cs
- DataReceivedEventArgs.cs
- SqlException.cs
- SupportingTokenSecurityTokenResolver.cs
- NotifyIcon.cs
- ComplexPropertyEntry.cs
- Size.cs
- DoWorkEventArgs.cs
- WindowsRebar.cs
- ObjectQueryProvider.cs
- RegexRunner.cs
- Pen.cs