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
- TreeViewAutomationPeer.cs
- XmlDocumentSerializer.cs
- ReturnType.cs
- WeakReferenceEnumerator.cs
- NullReferenceException.cs
- ColorAnimationBase.cs
- XmlSerializableReader.cs
- MimeParameter.cs
- ToolStripContentPanel.cs
- ComAdminInterfaces.cs
- GenericIdentity.cs
- GlyphsSerializer.cs
- DateTimeSerializationSection.cs
- DataGridViewComboBoxColumnDesigner.cs
- SqlRewriteScalarSubqueries.cs
- String.cs
- ExceptionHandlersDesigner.cs
- PocoPropertyAccessorStrategy.cs
- SortableBindingList.cs
- OletxTransactionHeader.cs
- PrintDialogException.cs
- RectKeyFrameCollection.cs
- SelectingProviderEventArgs.cs
- XamlFigureLengthSerializer.cs
- ColorConverter.cs
- ModelPropertyDescriptor.cs
- IsolatedStorageException.cs
- DeferredSelectedIndexReference.cs
- BitmapDownload.cs
- Image.cs
- PersonalizationState.cs
- RepeaterItem.cs
- XmlAtomErrorReader.cs
- StatusBarDrawItemEvent.cs
- PersonalizationDictionary.cs
- Icon.cs
- SqlXmlStorage.cs
- SimpleWorkerRequest.cs
- VarInfo.cs
- MetadataFile.cs
- SpellerError.cs
- FrameworkTextComposition.cs
- View.cs
- KeyedPriorityQueue.cs
- TypeDescriptorContext.cs
- SystemParameters.cs
- HttpProcessUtility.cs
- TemplatePropertyEntry.cs
- MailAddress.cs
- InvalidOperationException.cs
- CodeAccessSecurityEngine.cs
- StylusButton.cs
- DoubleLink.cs
- LayoutDump.cs
- SurrogateSelector.cs
- HTMLTagNameToTypeMapper.cs
- ConsumerConnectionPoint.cs
- SettingsPropertyIsReadOnlyException.cs
- StrokeNode.cs
- MetadataExchangeBindings.cs
- Size3D.cs
- TreeViewItem.cs
- CacheVirtualItemsEvent.cs
- ExtentCqlBlock.cs
- ComponentRenameEvent.cs
- TransformerConfigurationWizardBase.cs
- PropertyGridView.cs
- IntSecurity.cs
- DocumentPageView.cs
- Dynamic.cs
- X509Certificate2Collection.cs
- BaseValidatorDesigner.cs
- WebPartHelpVerb.cs
- VirtualPath.cs
- Rect3D.cs
- RemoteDebugger.cs
- XAMLParseException.cs
- FunctionDescription.cs
- PrintingPermission.cs
- CTreeGenerator.cs
- UrlAuthorizationModule.cs
- ContextMenuStripGroup.cs
- Trace.cs
- MapPathBasedVirtualPathProvider.cs
- StatusBarItem.cs
- SizeAnimationUsingKeyFrames.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- SubpageParagraph.cs
- ItemsChangedEventArgs.cs
- InstanceValue.cs
- DebugView.cs
- LogSwitch.cs
- DataTransferEventArgs.cs
- SectionInformation.cs
- ImportOptions.cs
- HtmlContainerControl.cs
- CodeExpressionCollection.cs
- BridgeDataRecord.cs
- BufferedWebEventProvider.cs
- FtpCachePolicyElement.cs