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
- EncryptedData.cs
- DataBoundLiteralControl.cs
- XmlReader.cs
- TextLineBreak.cs
- mda.cs
- RoutedUICommand.cs
- ObjectDisposedException.cs
- BufferedReceiveManager.cs
- SafeFileMapViewHandle.cs
- HtmlTitle.cs
- SqlColumnizer.cs
- CollectionViewProxy.cs
- ExpanderAutomationPeer.cs
- GroupBoxAutomationPeer.cs
- SocketPermission.cs
- TextElementCollection.cs
- SchemaImporterExtensionElement.cs
- DataBindingCollection.cs
- HTTPNotFoundHandler.cs
- CryptoApi.cs
- XmlElementList.cs
- GraphicsPath.cs
- QuaternionKeyFrameCollection.cs
- SqlNodeTypeOperators.cs
- WebPartDisplayModeCollection.cs
- Point3DAnimationBase.cs
- DebuggerAttributes.cs
- Grant.cs
- GPPOINTF.cs
- PersistenceException.cs
- FlowDocumentFormatter.cs
- Types.cs
- SingleConverter.cs
- SubstitutionList.cs
- UserControlAutomationPeer.cs
- IPHostEntry.cs
- QilGeneratorEnv.cs
- MsdtcWrapper.cs
- WebHttpSecurityElement.cs
- SqlNodeTypeOperators.cs
- DbParameterCollectionHelper.cs
- SqlEnums.cs
- BCryptNative.cs
- ThrowOnMultipleAssignment.cs
- XamlDesignerSerializationManager.cs
- TraceUtils.cs
- StringUtil.cs
- Validator.cs
- AmbientProperties.cs
- Atom10FormatterFactory.cs
- ReadOnlyCollectionBuilder.cs
- PointLight.cs
- DialogWindow.cs
- DataControlFieldCollection.cs
- LocalizeDesigner.cs
- BindingExpression.cs
- XamlSerializer.cs
- HtmlInputCheckBox.cs
- CompiledAction.cs
- ValidationService.cs
- DataComponentMethodGenerator.cs
- ElementsClipboardData.cs
- ListViewCommandEventArgs.cs
- WorkflowMessageEventHandler.cs
- GenericAuthenticationEventArgs.cs
- HashCodeCombiner.cs
- MethodCallExpression.cs
- FontStretch.cs
- DateTimeUtil.cs
- HttpInputStream.cs
- CollectionMarkupSerializer.cs
- SqlReferenceCollection.cs
- WindowsAuthenticationModule.cs
- CustomAttribute.cs
- DataControlField.cs
- LinqDataSourceView.cs
- DataTrigger.cs
- TextFormatterImp.cs
- DbCommandDefinition.cs
- TableStyle.cs
- ScriptModule.cs
- Perspective.cs
- BitConverter.cs
- storepermission.cs
- Help.cs
- TargetControlTypeCache.cs
- OperandQuery.cs
- TransformedBitmap.cs
- OperatingSystemVersionCheck.cs
- DockPanel.cs
- DataFormat.cs
- TextPenaltyModule.cs
- GlyphsSerializer.cs
- URLEditor.cs
- CapabilitiesRule.cs
- OracleNumber.cs
- HashMembershipCondition.cs
- DesignObjectWrapper.cs
- XmlLinkedNode.cs
- SeekStoryboard.cs