Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / WebSysDescriptionAttribute.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.Retrieves the description text. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlText.cs
- EmptyQuery.cs
- FontSource.cs
- SqlProfileProvider.cs
- FileDetails.cs
- InternalTypeHelper.cs
- CharacterString.cs
- CookieHandler.cs
- MatrixStack.cs
- HttpListenerPrefixCollection.cs
- OleDbConnection.cs
- NamespaceInfo.cs
- DbMetaDataCollectionNames.cs
- VSDExceptions.cs
- XomlCompilerResults.cs
- RegexCompiler.cs
- SystemColorTracker.cs
- ClientConvert.cs
- BrowserDefinitionCollection.cs
- KeySplineConverter.cs
- DirectoryInfo.cs
- Assert.cs
- TemplateBindingExtensionConverter.cs
- AuthenticationManager.cs
- AxisAngleRotation3D.cs
- SystemIPInterfaceStatistics.cs
- TabControlEvent.cs
- DeferredSelectedIndexReference.cs
- XXXOnTypeBuilderInstantiation.cs
- EmptyEnumerator.cs
- Transactions.cs
- CollectionViewSource.cs
- SuppressMessageAttribute.cs
- OleDbCommandBuilder.cs
- XmlSerializationReader.cs
- SecurityDocument.cs
- _CommandStream.cs
- RemotingAttributes.cs
- __ComObject.cs
- TransformPattern.cs
- OSFeature.cs
- HttpDictionary.cs
- FocusWithinProperty.cs
- ObjectDataSourceFilteringEventArgs.cs
- BaseParser.cs
- WebPartVerbCollection.cs
- XsdValidatingReader.cs
- SimpleType.cs
- ObjectReaderCompiler.cs
- CompressionTransform.cs
- FileDialogPermission.cs
- DPTypeDescriptorContext.cs
- DataRecordInfo.cs
- ReachDocumentReferenceSerializerAsync.cs
- AssemblyNameProxy.cs
- ElementMarkupObject.cs
- StyleXamlTreeBuilder.cs
- TrackingDataItem.cs
- SurrogateEncoder.cs
- ClientBuildManagerCallback.cs
- AmbiguousMatchException.cs
- ProfilePropertyNameValidator.cs
- TableCellCollection.cs
- GridViewRowCollection.cs
- RegexNode.cs
- ReflectPropertyDescriptor.cs
- ExtractCollection.cs
- PreviewKeyDownEventArgs.cs
- PreviewKeyDownEventArgs.cs
- EventRouteFactory.cs
- ConfigurationLocationCollection.cs
- Window.cs
- NamedPipeWorkerProcess.cs
- BitmapMetadataBlob.cs
- Int32AnimationUsingKeyFrames.cs
- OptimizerPatterns.cs
- DataView.cs
- ErrorHandlerModule.cs
- UserValidatedEventArgs.cs
- TextDecorationCollection.cs
- RuntimeConfig.cs
- ProtocolViolationException.cs
- ILGen.cs
- AffineTransform3D.cs
- AdRotator.cs
- DetailsViewInsertEventArgs.cs
- FilteredAttributeCollection.cs
- panel.cs
- XhtmlTextWriter.cs
- XmlElementAttribute.cs
- _NestedMultipleAsyncResult.cs
- BamlTreeMap.cs
- DeviceContexts.cs
- EventLog.cs
- ReadOnlyDataSource.cs
- Preprocessor.cs
- FaultReasonText.cs
- EmbossBitmapEffect.cs
- SoapSchemaImporter.cs
- FilteredDataSetHelper.cs