Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / WebSysDescriptionAttribute.cs / 1305376 / WebSysDescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { 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)] internal class WebSysDescriptionAttribute : DescriptionAttribute { private bool replaced; ////// internal WebSysDescriptionAttribute(string description) : base(description) { } ///Constructs a new sys description. ////// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.GetString(base.Description); } return base.Description; } } public override object TypeId { get { return typeof(DescriptionAttribute); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Retrieves the description text. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { 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)] internal class WebSysDescriptionAttribute : DescriptionAttribute { private bool replaced; ////// internal WebSysDescriptionAttribute(string description) : base(description) { } ///Constructs a new sys description. ////// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.GetString(base.Description); } return base.Description; } } public override object TypeId { get { return typeof(DescriptionAttribute); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Retrieves the description text. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpResponseHeader.cs
- SQLConvert.cs
- MultipleViewProviderWrapper.cs
- InvalidFilterCriteriaException.cs
- ReadOnlyDictionary.cs
- BasePattern.cs
- SspiHelper.cs
- RemoteTokenFactory.cs
- AssemblyCache.cs
- AssemblyFilter.cs
- TdsParserSafeHandles.cs
- DataGridViewBindingCompleteEventArgs.cs
- ApplicationHost.cs
- BindingBase.cs
- SettingsPropertyNotFoundException.cs
- EditorPart.cs
- PropertyDescriptorComparer.cs
- ControlPersister.cs
- BidOverLoads.cs
- BitmapMetadataEnumerator.cs
- QueryParameter.cs
- DocumentSequenceHighlightLayer.cs
- OdbcConnection.cs
- Vector.cs
- EnumBuilder.cs
- NavigatorOutput.cs
- TraceUtility.cs
- DocumentEventArgs.cs
- RNGCryptoServiceProvider.cs
- DataGridDesigner.cs
- HostingEnvironment.cs
- COAUTHIDENTITY.cs
- Int32RectConverter.cs
- SafeSecurityHandles.cs
- NumericUpDownAcceleration.cs
- IndexedEnumerable.cs
- ellipse.cs
- CodeTypeDeclarationCollection.cs
- unitconverter.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- DelegatingMessage.cs
- DirtyTextRange.cs
- SqlCacheDependencyDatabase.cs
- Bold.cs
- AcceleratedTokenAuthenticator.cs
- SafeBuffer.cs
- StorageFunctionMapping.cs
- HtmlEncodedRawTextWriter.cs
- SynchronizedInputPattern.cs
- ShadowGlyph.cs
- DataTrigger.cs
- SoapWriter.cs
- XmlHierarchyData.cs
- DetailsViewPagerRow.cs
- MarkupCompilePass1.cs
- ChangeInterceptorAttribute.cs
- ArglessEventHandlerProxy.cs
- XmlDownloadManager.cs
- CommonRemoteMemoryBlock.cs
- MemoryRecordBuffer.cs
- KeyManager.cs
- MultipleViewPattern.cs
- SiteIdentityPermission.cs
- FrameworkElement.cs
- RNGCryptoServiceProvider.cs
- StatusStrip.cs
- GlyphRunDrawing.cs
- DoubleIndependentAnimationStorage.cs
- HeaderedItemsControl.cs
- SymbolType.cs
- Trace.cs
- Header.cs
- CallbackValidatorAttribute.cs
- RelatedView.cs
- RuntimeIdentifierPropertyAttribute.cs
- DbConnectionFactory.cs
- HttpInputStream.cs
- PropertyOrder.cs
- ElementAction.cs
- SystemIcons.cs
- XmlDictionaryReaderQuotas.cs
- SynchronizationContext.cs
- GenericWebPart.cs
- CompositeDuplexBindingElement.cs
- ObjectListSelectEventArgs.cs
- TraceUtility.cs
- SourceElementsCollection.cs
- InputBindingCollection.cs
- ColumnWidthChangedEvent.cs
- RegexTree.cs
- DataGridViewRowsRemovedEventArgs.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ServerValidateEventArgs.cs
- Simplifier.cs
- SqlProvider.cs
- DynamicAttribute.cs
- ToolStripContainerDesigner.cs
- DataControlFieldHeaderCell.cs
- MatrixAnimationUsingPath.cs
- Scheduler.cs