Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- CompoundFileStreamReference.cs
- DropTarget.cs
- GenericEnumConverter.cs
- HttpTransportElement.cs
- ExtendLockCommand.cs
- WindowsImpersonationContext.cs
- TraceSection.cs
- PlanCompiler.cs
- UIElementParagraph.cs
- Substitution.cs
- GridViewDeletedEventArgs.cs
- XmlSchemaResource.cs
- CachedTypeface.cs
- Merger.cs
- SmtpNtlmAuthenticationModule.cs
- TriggerActionCollection.cs
- ExtendedPropertyDescriptor.cs
- ConfigurationSettings.cs
- TextViewBase.cs
- FileResponseElement.cs
- ItemsControlAutomationPeer.cs
- SmiContext.cs
- EmissiveMaterial.cs
- AsymmetricAlgorithm.cs
- CapabilitiesRule.cs
- X509UI.cs
- ObjectSet.cs
- DeflateEmulationStream.cs
- _NestedMultipleAsyncResult.cs
- SingleAnimationUsingKeyFrames.cs
- MultipartContentParser.cs
- QueryCacheManager.cs
- DataGridViewSelectedCellCollection.cs
- WebPermission.cs
- BitmapMetadata.cs
- GiveFeedbackEventArgs.cs
- WorkflowDurableInstance.cs
- BuildManager.cs
- ToolStripDropDownButton.cs
- DescendantQuery.cs
- NavigationWindowAutomationPeer.cs
- DependencyPropertyAttribute.cs
- JournalEntryListConverter.cs
- VisualTarget.cs
- PrtTicket_Public.cs
- DictionaryEntry.cs
- Quaternion.cs
- TemplateBindingExpression.cs
- Queue.cs
- TransactionManager.cs
- WCFModelStrings.Designer.cs
- BigIntegerStorage.cs
- EncoderReplacementFallback.cs
- SelectionGlyph.cs
- StrokeNodeData.cs
- LeaseManager.cs
- OracleBinary.cs
- RequestContextBase.cs
- DynamicPropertyHolder.cs
- DataViewListener.cs
- TemplateBindingExpression.cs
- TemplatedAdorner.cs
- bindurihelper.cs
- JumpList.cs
- FormViewModeEventArgs.cs
- ConfigXmlCDataSection.cs
- BindingSource.cs
- CodeSnippetCompileUnit.cs
- Knowncolors.cs
- StringConverter.cs
- WebRequestModulesSection.cs
- CounterCreationData.cs
- RegisteredExpandoAttribute.cs
- Compensation.cs
- SafeEventLogWriteHandle.cs
- DataFormat.cs
- Psha1DerivedKeyGeneratorHelper.cs
- RenderData.cs
- ResourceWriter.cs
- IntegerFacetDescriptionElement.cs
- ServiceProviders.cs
- ContentType.cs
- JsonReader.cs
- NumberEdit.cs
- FormsAuthenticationTicket.cs
- TextElement.cs
- DropTarget.cs
- Crc32.cs
- RuntimeHandles.cs
- PinnedBufferMemoryStream.cs
- DbConnectionOptions.cs
- ListView.cs
- QfeChecker.cs
- TraceContext.cs
- SafeBitVector32.cs
- Shape.cs
- dbenumerator.cs
- XmlChildEnumerator.cs
- Size.cs
- RemoveStoryboard.cs