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
- BitmapSizeOptions.cs
- PropertyDescriptors.cs
- UserControlParser.cs
- ServiceHostingEnvironment.cs
- ServicesUtilities.cs
- NameScope.cs
- LocatorManager.cs
- LazyTextWriterCreator.cs
- assertwrapper.cs
- SoapElementAttribute.cs
- ScrollViewerAutomationPeer.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- JsonFormatMapping.cs
- XmlLoader.cs
- TextTreeInsertUndoUnit.cs
- DataSourceControl.cs
- XPathDocumentIterator.cs
- HtmlDocument.cs
- AccessText.cs
- GradientStop.cs
- InspectionWorker.cs
- SynchronizationValidator.cs
- XmlSchemaProviderAttribute.cs
- MailDefinition.cs
- HandledMouseEvent.cs
- CollectionConverter.cs
- QilLiteral.cs
- ToolboxDataAttribute.cs
- ConstraintCollection.cs
- autovalidator.cs
- CreateUserWizard.cs
- XmlDataCollection.cs
- SizeConverter.cs
- ProfileParameter.cs
- StorageInfo.cs
- EventSinkActivity.cs
- _ProxyChain.cs
- BatchParser.cs
- DummyDataSource.cs
- FontSourceCollection.cs
- DictionaryEditChange.cs
- ActivityCollectionMarkupSerializer.cs
- AttachmentService.cs
- CellLabel.cs
- DesigntimeLicenseContext.cs
- TextPointerBase.cs
- Point3DCollectionConverter.cs
- loginstatus.cs
- Environment.cs
- PagerSettings.cs
- TextEditorSelection.cs
- SocketManager.cs
- WindowsBrush.cs
- RadioButton.cs
- precedingquery.cs
- BuildDependencySet.cs
- ConnectionPoolManager.cs
- CatalogZoneBase.cs
- RegexCapture.cs
- FixedTextPointer.cs
- DataGridBoolColumn.cs
- ObjectTypeMapping.cs
- MappingException.cs
- DoWorkEventArgs.cs
- IInstanceTable.cs
- COM2ExtendedBrowsingHandler.cs
- ExpandSegment.cs
- SelectionEditingBehavior.cs
- MouseCaptureWithinProperty.cs
- HiddenFieldPageStatePersister.cs
- SystemIcons.cs
- BrowserCapabilitiesCodeGenerator.cs
- _ContextAwareResult.cs
- StreamAsIStream.cs
- FastPropertyAccessor.cs
- TreeWalkHelper.cs
- CompiledQuery.cs
- PolyBezierSegmentFigureLogic.cs
- ContextProperty.cs
- _KerberosClient.cs
- EntityDataSourceViewSchema.cs
- SourceItem.cs
- InternalConfigEventArgs.cs
- IdentityVerifier.cs
- DrawListViewItemEventArgs.cs
- InternalPermissions.cs
- StringFreezingAttribute.cs
- ParseNumbers.cs
- RevocationPoint.cs
- MaskDesignerDialog.cs
- ValidatingReaderNodeData.cs
- DefaultParameterValueAttribute.cs
- DiscardableAttribute.cs
- StreamInfo.cs
- EnvelopedSignatureTransform.cs
- NetCodeGroup.cs
- LayoutDump.cs
- ModuleBuilderData.cs
- InfoCardSymmetricAlgorithm.cs
- RepeaterItemCollection.cs