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
- RectAnimationBase.cs
- ConfigurationSectionHelper.cs
- XmlSchemaSubstitutionGroup.cs
- ColorKeyFrameCollection.cs
- MimeWriter.cs
- DataTemplateSelector.cs
- StrongNameIdentityPermission.cs
- ImageInfo.cs
- RangeValuePatternIdentifiers.cs
- ToolStripTextBox.cs
- Paragraph.cs
- SqlDependencyUtils.cs
- TypedElement.cs
- GenericEnumerator.cs
- PasswordTextContainer.cs
- Point.cs
- LockCookie.cs
- TcpPortSharing.cs
- CalendarDataBindingHandler.cs
- _HelperAsyncResults.cs
- ReadOnlyObservableCollection.cs
- CodeSnippetTypeMember.cs
- Timeline.cs
- ControlDesignerState.cs
- GPRECTF.cs
- DynamicFilterExpression.cs
- NTAccount.cs
- MenuItemStyleCollection.cs
- ThrowHelper.cs
- XamlUtilities.cs
- XmlSchemaExternal.cs
- SystemIPAddressInformation.cs
- validationstate.cs
- OpenFileDialog.cs
- WrappedKeySecurityTokenParameters.cs
- AccessibilityApplicationManager.cs
- ObservableCollection.cs
- BufferModeSettings.cs
- RepeatInfo.cs
- ObjectDataProvider.cs
- ProxyGenerator.cs
- ChangeDirector.cs
- MulticastOption.cs
- DataGridViewColumnCollection.cs
- UrlMappingCollection.cs
- TextEditorTyping.cs
- EdmEntityTypeAttribute.cs
- WebBrowserPermission.cs
- TextMetrics.cs
- BigInt.cs
- CodeDomSerializationProvider.cs
- ParameterCollection.cs
- ScopelessEnumAttribute.cs
- FunctionDescription.cs
- BamlRecordReader.cs
- XmlBoundElement.cs
- URIFormatException.cs
- COMException.cs
- Util.cs
- EntityDataSourceUtil.cs
- EnumMemberAttribute.cs
- InputScopeAttribute.cs
- ArrayTypeMismatchException.cs
- Int32RectValueSerializer.cs
- MetafileHeaderWmf.cs
- CodeExpressionStatement.cs
- ContainerControlDesigner.cs
- CurrentChangedEventManager.cs
- ThousandthOfEmRealDoubles.cs
- UIElementIsland.cs
- BitSet.cs
- CodeConstructor.cs
- RelationalExpressions.cs
- ListParaClient.cs
- SecureUICommand.cs
- Double.cs
- IImplicitResourceProvider.cs
- ToolboxItemAttribute.cs
- OleDbStruct.cs
- MemberRelationshipService.cs
- JsonEncodingStreamWrapper.cs
- ActivityExecutorSurrogate.cs
- EnumValAlphaComparer.cs
- ObjectDataSourceDisposingEventArgs.cs
- Trace.cs
- Link.cs
- Model3D.cs
- DataGridViewCellStyleChangedEventArgs.cs
- XPathAncestorIterator.cs
- PathData.cs
- ClientUrlResolverWrapper.cs
- CapiNative.cs
- TypeValidationEventArgs.cs
- ApplicationId.cs
- ProcessProtocolHandler.cs
- ViewStateException.cs
- AncestorChangedEventArgs.cs
- XmlEncoding.cs
- StyleTypedPropertyAttribute.cs
- ToolboxItemFilterAttribute.cs