Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / MS / Internal / PlatformCulture.cs / 1 / PlatformCulture.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (c) Microsoft Corporation. All rights reserved. // // File: PlatformCulture.cs // // Contents: Internal class that exposes the culture the platform is localized to. // // Created: 5-19-2006 Rafael Ruiz ([....]) // //----------------------------------------------------------------------- using System; using System.Globalization; using System.Windows; using MS.Internal.WindowsBase; namespace MS.Internal { ////// Exposes the CultureInfo for the culture the platform is localized to. /// [FriendAccessAllowed] internal static class PlatformCulture { ////// Culture the platform is localized to. /// public static CultureInfo Value { get { // Get the UI Language from the string table string uiLanguage = SR.Get(SRID.WPF_UILanguage); Invariant.Assert(!string.IsNullOrEmpty(uiLanguage), "No UILanguage was specified in stringtable."); // Return the CultureInfo for this UI language. return new CultureInfo(uiLanguage); } } } } // 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
- Module.cs
- DummyDataSource.cs
- TablePattern.cs
- RowToParametersTransformer.cs
- AnnotationComponentChooser.cs
- EmptyImpersonationContext.cs
- SoapFault.cs
- UInt64Converter.cs
- StopStoryboard.cs
- TableRowGroup.cs
- MenuItemBinding.cs
- WebPartUtil.cs
- RSACryptoServiceProvider.cs
- DecoderFallback.cs
- SortQuery.cs
- LayoutTable.cs
- DiscoveryReferences.cs
- HttpHandlersSection.cs
- UserNamePasswordValidationMode.cs
- NumberFormatter.cs
- WorkerRequest.cs
- LayoutUtils.cs
- SynchronizedInputPattern.cs
- RsaSecurityToken.cs
- ReturnEventArgs.cs
- Point4DConverter.cs
- Soap.cs
- arc.cs
- ResourcesBuildProvider.cs
- EventListener.cs
- PropagatorResult.cs
- AnnouncementClient.cs
- Policy.cs
- KoreanLunisolarCalendar.cs
- XmlBinaryReader.cs
- DataGridPageChangedEventArgs.cs
- DrawingBrush.cs
- MatrixCamera.cs
- XPathScanner.cs
- SafeWaitHandle.cs
- CachedTypeface.cs
- Roles.cs
- tibetanshape.cs
- ReferencedAssemblyResolver.cs
- WorkflowMarkupSerializer.cs
- TreeIterator.cs
- ConvertEvent.cs
- ClientCultureInfo.cs
- ProcessRequestArgs.cs
- DomainLiteralReader.cs
- RemotingAttributes.cs
- SequentialOutput.cs
- TdsParameterSetter.cs
- SetterBaseCollection.cs
- GridViewDeleteEventArgs.cs
- QuaternionRotation3D.cs
- DesignBindingEditor.cs
- ResourceDictionaryCollection.cs
- ToolboxComponentsCreatingEventArgs.cs
- CodeAttributeDeclaration.cs
- PassportPrincipal.cs
- ProfilePropertySettingsCollection.cs
- WindowsStatusBar.cs
- Renderer.cs
- ExtensionSurface.cs
- AttributeAction.cs
- AspNetSynchronizationContext.cs
- CompilerInfo.cs
- StringFormat.cs
- MenuItemCollection.cs
- XmlToDatasetMap.cs
- HierarchicalDataBoundControl.cs
- SecurityHelper.cs
- ExceptionWrapper.cs
- WorkflowApplicationTerminatedException.cs
- PrefixHandle.cs
- SqlPersonalizationProvider.cs
- DrawItemEvent.cs
- ComponentRenameEvent.cs
- InternalResources.cs
- FactoryGenerator.cs
- TypeResolver.cs
- _KerberosClient.cs
- MLangCodePageEncoding.cs
- XmlSchemaGroup.cs
- TextFormatterContext.cs
- OneOf.cs
- FrameworkElementFactory.cs
- CannotUnloadAppDomainException.cs
- PermissionAttributes.cs
- CodeParameterDeclarationExpressionCollection.cs
- XmlRootAttribute.cs
- ElapsedEventArgs.cs
- HttpServerVarsCollection.cs
- GridViewEditEventArgs.cs
- SqlError.cs
- Number.cs
- MobileControlPersister.cs
- ConnectionOrientedTransportChannelListener.cs
- ConsumerConnectionPointCollection.cs