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
- SmtpNtlmAuthenticationModule.cs
- bidPrivateBase.cs
- XmlReader.cs
- BaseUriHelper.cs
- PhysicalAddress.cs
- AttachedAnnotation.cs
- BamlResourceContent.cs
- DesignerDataParameter.cs
- StrokeRenderer.cs
- X509InitiatorCertificateClientElement.cs
- XmlDataSourceNodeDescriptor.cs
- CustomCredentialPolicy.cs
- XmlSignificantWhitespace.cs
- ComponentResourceKey.cs
- BaseTemplatedMobileComponentEditor.cs
- DataServiceSaveChangesEventArgs.cs
- ScriptBehaviorDescriptor.cs
- SqlNodeTypeOperators.cs
- TextServicesDisplayAttributePropertyRanges.cs
- RadioButtonRenderer.cs
- LogAppendAsyncResult.cs
- PolicyException.cs
- HttpCapabilitiesEvaluator.cs
- PresentationSource.cs
- sqlmetadatafactory.cs
- DataGridViewColumnHeaderCell.cs
- NamespaceEmitter.cs
- RootBrowserWindowProxy.cs
- TextAnchor.cs
- HtmlShimManager.cs
- SingleStorage.cs
- ServiceDocumentFormatter.cs
- ImpersonationContext.cs
- FillErrorEventArgs.cs
- DBConnectionString.cs
- ChangeBlockUndoRecord.cs
- ButtonColumn.cs
- Image.cs
- TypefaceCollection.cs
- LinqDataSourceUpdateEventArgs.cs
- ContainerVisual.cs
- SchemaImporter.cs
- XmlEntity.cs
- TableLayoutPanelCellPosition.cs
- CommandDevice.cs
- RtfControlWordInfo.cs
- HttpListenerRequest.cs
- BindingOperations.cs
- HttpResponseHeader.cs
- AddInAttribute.cs
- MdiWindowListStrip.cs
- NetworkInformationPermission.cs
- VirtualizedItemPattern.cs
- MenuItemStyle.cs
- SqlReorderer.cs
- StylusPointPropertyInfoDefaults.cs
- ColumnWidthChangedEvent.cs
- Module.cs
- SymmetricKey.cs
- MenuAdapter.cs
- ParallelEnumerable.cs
- OutputWindow.cs
- HtmlDocument.cs
- XamlBuildTaskServices.cs
- AppDomainUnloadedException.cs
- ObjectDataSourceFilteringEventArgs.cs
- QueryResults.cs
- AttachInfo.cs
- TableCellCollection.cs
- DataGridViewColumnCollection.cs
- DataRowComparer.cs
- HandlerWithFactory.cs
- CommandDevice.cs
- ToolStripDropDownButton.cs
- DomainUpDown.cs
- PageThemeParser.cs
- XPathChildIterator.cs
- TextEvent.cs
- BodyWriter.cs
- TypeLoadException.cs
- HttpPostServerProtocol.cs
- SafeNativeMethodsMilCoreApi.cs
- BrushValueSerializer.cs
- RegexCapture.cs
- OrthographicCamera.cs
- LayoutEvent.cs
- basecomparevalidator.cs
- Ray3DHitTestResult.cs
- DataGridViewColumnEventArgs.cs
- MinMaxParagraphWidth.cs
- IItemProperties.cs
- JoinGraph.cs
- RegexTree.cs
- XmlFormatExtensionPrefixAttribute.cs
- DescendantBaseQuery.cs
- CompatibleComparer.cs
- StoreConnection.cs
- OracleNumber.cs
- MulticastDelegate.cs
- RoleManagerModule.cs