Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / MS / Internal / CustomCategoryAttribute.cs / 1305600 / CustomCategoryAttribute.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using MS.Internal.PresentationCore; namespace MS.Internal { ////// Allows for localizing custom categories. /// ////// This class could be shared amongst any of the assemblies if desired. /// internal sealed class CustomCategoryAttribute : CategoryAttribute { internal CustomCategoryAttribute() : base() { } internal CustomCategoryAttribute(string category) : base(category) { } protected override string GetLocalizedString(string value) { string s = SR.Get(value); if (s != null) { return s; } else { return value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpApplicationStateBase.cs
- GregorianCalendarHelper.cs
- IconConverter.cs
- CommandField.cs
- Scripts.cs
- NativeMethods.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- IdentityHolder.cs
- XmlTextWriter.cs
- AnnotationResourceChangedEventArgs.cs
- GetWinFXPath.cs
- ScrollEvent.cs
- WebSysDisplayNameAttribute.cs
- SqlDependencyListener.cs
- XmlSchemaCompilationSettings.cs
- DocumentEventArgs.cs
- IgnoreDeviceFilterElement.cs
- MappingItemCollection.cs
- HebrewNumber.cs
- DocumentPageHost.cs
- ContractAdapter.cs
- BounceEase.cs
- TypeCodeDomSerializer.cs
- StyleCollection.cs
- Utils.cs
- TimeoutException.cs
- OrthographicCamera.cs
- CapabilitiesUse.cs
- GatewayDefinition.cs
- LoginCancelEventArgs.cs
- GridProviderWrapper.cs
- Triangle.cs
- HostingEnvironmentSection.cs
- VariableQuery.cs
- MouseBinding.cs
- xmlglyphRunInfo.cs
- AutomationElementCollection.cs
- EntityDataSourceEntityTypeFilterItem.cs
- String.cs
- DataGridTextBoxColumn.cs
- Message.cs
- UrlPath.cs
- BindingContext.cs
- Wildcard.cs
- mactripleDES.cs
- DrawingAttributeSerializer.cs
- InkPresenter.cs
- CacheAxisQuery.cs
- ArrangedElement.cs
- ProgressBar.cs
- RadioButtonStandardAdapter.cs
- XmlSchemaAppInfo.cs
- NamespaceMapping.cs
- StreamInfo.cs
- SelectionRangeConverter.cs
- ListViewItem.cs
- ADMembershipProvider.cs
- LocalServiceSecuritySettingsElement.cs
- Brush.cs
- PreProcessor.cs
- ProcessModule.cs
- ProcessHostServerConfig.cs
- ProvidePropertyAttribute.cs
- Stylesheet.cs
- BitmapImage.cs
- Brushes.cs
- SoapReflectionImporter.cs
- FileCodeGroup.cs
- contentDescriptor.cs
- SchemaTableColumn.cs
- ThreadPool.cs
- HybridObjectCache.cs
- PropertyBuilder.cs
- _ProxyChain.cs
- TextEditorDragDrop.cs
- ImportCatalogPart.cs
- DesignerInterfaces.cs
- DesignerEventService.cs
- UIElementHelper.cs
- Int32AnimationBase.cs
- XmlDataCollection.cs
- IMembershipProvider.cs
- FixedPosition.cs
- XmlILOptimizerVisitor.cs
- XPathNavigator.cs
- BreakRecordTable.cs
- AccessDataSource.cs
- SelectionList.cs
- OrthographicCamera.cs
- XamlReaderConstants.cs
- PersistenceTypeAttribute.cs
- TemplatedAdorner.cs
- SequentialUshortCollection.cs
- Configuration.cs
- PolicyValidator.cs
- NavigationService.cs
- SamlSubject.cs
- InvokeGenerator.cs
- TableRowCollection.cs
- TimestampInformation.cs