Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / PlatformCulture.cs / 1305600 / 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 (rruiz) // //----------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- VoiceChangeEventArgs.cs
- AnnotationHelper.cs
- UnionQueryOperator.cs
- oledbmetadatacollectionnames.cs
- HttpCachePolicy.cs
- IISMapPath.cs
- Run.cs
- CallInfo.cs
- MethodRental.cs
- DeviceSpecificChoiceCollection.cs
- basecomparevalidator.cs
- XmlSchemaInclude.cs
- FragmentQuery.cs
- EntityTypeEmitter.cs
- CacheMemory.cs
- CapabilitiesRule.cs
- Matrix3DConverter.cs
- SafeNativeMethods.cs
- IsolatedStorageFilePermission.cs
- LineUtil.cs
- DriveInfo.cs
- SqlDataRecord.cs
- PeerObject.cs
- SapiRecoInterop.cs
- Encoder.cs
- EventListener.cs
- OleDbTransaction.cs
- LinqDataSourceSelectEventArgs.cs
- QilPatternFactory.cs
- ExpressionBindingCollection.cs
- SplitterEvent.cs
- DateTimeOffsetStorage.cs
- Point4DConverter.cs
- HighContrastHelper.cs
- PrintSchema.cs
- ButtonColumn.cs
- SafeTimerHandle.cs
- EncryptedType.cs
- UserControlParser.cs
- FamilyCollection.cs
- SurrogateSelector.cs
- Message.cs
- FrameAutomationPeer.cs
- OutOfMemoryException.cs
- Expander.cs
- DataObject.cs
- LinqDataSourceDeleteEventArgs.cs
- TextBlockAutomationPeer.cs
- CompoundFileStorageReference.cs
- PrintEvent.cs
- ConfigurationElement.cs
- ByteConverter.cs
- TaskForm.cs
- AnimatedTypeHelpers.cs
- PropertyItemInternal.cs
- Base64Encoder.cs
- InkCollectionBehavior.cs
- StoreItemCollection.Loader.cs
- WebPartConnectionsCancelVerb.cs
- DebugController.cs
- SourceSwitch.cs
- LinkClickEvent.cs
- RightsManagementPermission.cs
- DataControlImageButton.cs
- MetadataArtifactLoaderCompositeFile.cs
- SafeNativeMethods.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Compiler.cs
- UnsafeNativeMethods.cs
- TreeNodeStyle.cs
- SystemIPv6InterfaceProperties.cs
- ResXDataNode.cs
- PropertyGridView.cs
- TCPClient.cs
- XomlCompilerResults.cs
- EntityViewGenerator.cs
- UpWmlPageAdapter.cs
- MachineKeySection.cs
- DelegateArgumentReference.cs
- BamlRecordReader.cs
- AspNetSynchronizationContext.cs
- X509CertificateStore.cs
- WebPartZone.cs
- ConfigXmlElement.cs
- MimeMultiPart.cs
- CompositeTypefaceMetrics.cs
- WebMethodAttribute.cs
- SecurityState.cs
- UniqueEventHelper.cs
- CodeDirectionExpression.cs
- Span.cs
- TextBlock.cs
- SubstitutionDesigner.cs
- SQLByte.cs
- UTF8Encoding.cs
- NavigationProperty.cs
- ManualResetEventSlim.cs
- FileDialog.cs
- MaterialGroup.cs
- BitmapPalette.cs