Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / WebSysDisplayNameAttribute.cs / 1 / WebSysDisplayNameAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { using System; using System.ComponentModel; ////// DisplayNameAttribute marks a property, event, or extender with a /// DisplayName. Visual designers can display this DisplayName when referencing /// the member. /// [AttributeUsage(AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Class)] internal sealed class WebSysDisplayNameAttribute : DisplayNameAttribute { private bool replaced; ////// internal WebSysDisplayNameAttribute(string DisplayName) : base(DisplayName) { } ///Constructs a new sys DisplayName. ////// public override string DisplayName { get { if (!replaced) { replaced = true; DisplayNameValue = SR.GetString(base.DisplayName); } return base.DisplayName; } } public override object TypeId { get { return typeof(DisplayNameAttribute); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Retrieves the DisplayName text. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { using System; using System.ComponentModel; ////// DisplayNameAttribute marks a property, event, or extender with a /// DisplayName. Visual designers can display this DisplayName when referencing /// the member. /// [AttributeUsage(AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Class)] internal sealed class WebSysDisplayNameAttribute : DisplayNameAttribute { private bool replaced; ////// internal WebSysDisplayNameAttribute(string DisplayName) : base(DisplayName) { } ///Constructs a new sys DisplayName. ////// public override string DisplayName { get { if (!replaced) { replaced = true; DisplayNameValue = SR.GetString(base.DisplayName); } return base.DisplayName; } } public override object TypeId { get { return typeof(DisplayNameAttribute); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Retrieves the DisplayName text. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResourcesChangeInfo.cs
- Clause.cs
- HttpCacheVaryByContentEncodings.cs
- AssemblyCollection.cs
- BasicSecurityProfileVersion.cs
- HtmlInputFile.cs
- StreamInfo.cs
- SignatureToken.cs
- OutputWindow.cs
- XmlSchemaAnnotation.cs
- RequestCachePolicy.cs
- ObjectSet.cs
- DocumentPaginator.cs
- PaintEvent.cs
- ClientBuildManager.cs
- DataGridViewDataConnection.cs
- IndicCharClassifier.cs
- GridViewEditEventArgs.cs
- CodeConditionStatement.cs
- ColorAnimation.cs
- TemplatePartAttribute.cs
- DataQuery.cs
- Line.cs
- ItemsControl.cs
- SynchronizedDispatch.cs
- SelectManyQueryOperator.cs
- DesignerHelpers.cs
- DecimalAnimationBase.cs
- CompilerTypeWithParams.cs
- CorruptingExceptionCommon.cs
- FastPropertyAccessor.cs
- PersistenceException.cs
- WebHeaderCollection.cs
- ListControlConvertEventArgs.cs
- _ChunkParse.cs
- MimeObjectFactory.cs
- JsonStringDataContract.cs
- RelationshipEnd.cs
- PrintController.cs
- PropertyValueUIItem.cs
- DataGridSortCommandEventArgs.cs
- SecurityHelper.cs
- DataGridParentRows.cs
- CommandID.cs
- PointCollectionValueSerializer.cs
- DeviceContext2.cs
- WebPartConnectionCollection.cs
- XamlPointCollectionSerializer.cs
- QuotedPrintableStream.cs
- DataGridTable.cs
- CodeLinePragma.cs
- WinInetCache.cs
- ObjectStateManager.cs
- Qualifier.cs
- AccessDataSourceView.cs
- ProgressBarHighlightConverter.cs
- Effect.cs
- TextSearch.cs
- AsmxEndpointPickerExtension.cs
- UIPermission.cs
- ValidationResult.cs
- EventEntry.cs
- InterleavedZipPartStream.cs
- SerializationObjectManager.cs
- SqlNodeAnnotation.cs
- PropertyToken.cs
- DoubleMinMaxAggregationOperator.cs
- WpfXamlType.cs
- WindowsStatusBar.cs
- XmlQuerySequence.cs
- CodePrimitiveExpression.cs
- ScrollableControl.cs
- RecipientInfo.cs
- BookmarkEventArgs.cs
- GridViewAutoFormat.cs
- DropSource.cs
- DataViewListener.cs
- DataMemberConverter.cs
- ReaderWriterLockWrapper.cs
- TransformValueSerializer.cs
- ExpressionWriter.cs
- XpsS0ValidatingLoader.cs
- ImpersonationContext.cs
- SchemaSetCompiler.cs
- SubpageParaClient.cs
- FileUtil.cs
- HandlerBase.cs
- XappLauncher.cs
- TraceContext.cs
- IntranetCredentialPolicy.cs
- ChannelServices.cs
- LogEntrySerialization.cs
- ObjectStorage.cs
- CompiledXpathExpr.cs
- FaultContractAttribute.cs
- BCLDebug.cs
- AttachedProperty.cs
- ContextMenu.cs
- HttpProtocolReflector.cs
- CounterCreationDataCollection.cs