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
- ClientApiGenerator.cs
- ListViewInsertEventArgs.cs
- CodeSnippetCompileUnit.cs
- CreateInstanceBinder.cs
- SafeNativeMethods.cs
- ListBoxDesigner.cs
- MobileControlsSection.cs
- UIElementParagraph.cs
- HostingEnvironment.cs
- ProvideValueServiceProvider.cs
- DefaultEvaluationContext.cs
- SystemUnicastIPAddressInformation.cs
- TypeSource.cs
- WSHttpBinding.cs
- BaseInfoTable.cs
- Classification.cs
- MouseEventArgs.cs
- ByteStreamMessage.cs
- ObjectListTitleAttribute.cs
- HttpWriter.cs
- IpcChannel.cs
- AnnouncementEndpoint.cs
- EarlyBoundInfo.cs
- DynamicScriptObject.cs
- ItemContainerPattern.cs
- EmbossBitmapEffect.cs
- UncommonField.cs
- PageHandlerFactory.cs
- SessionEndingEventArgs.cs
- RemotingSurrogateSelector.cs
- TreeViewImageKeyConverter.cs
- JulianCalendar.cs
- GeneralTransformCollection.cs
- Predicate.cs
- assemblycache.cs
- SurrogateSelector.cs
- SourceExpressionException.cs
- COM2IDispatchConverter.cs
- Brush.cs
- PointAnimationBase.cs
- ADMembershipProvider.cs
- SizeAnimation.cs
- RootBuilder.cs
- BitmapEffectGroup.cs
- TextServicesPropertyRanges.cs
- ProfilePropertySettings.cs
- ThousandthOfEmRealPoints.cs
- EntityCommand.cs
- AppDomainCompilerProxy.cs
- ConstructorNeedsTagAttribute.cs
- ListControl.cs
- AxParameterData.cs
- UriScheme.cs
- SessionState.cs
- KeyGesture.cs
- Logging.cs
- SqlErrorCollection.cs
- DebugManager.cs
- Function.cs
- CompiledXpathExpr.cs
- DataSourceUtil.cs
- nulltextnavigator.cs
- ResourceSet.cs
- DataServiceProcessingPipeline.cs
- DPCustomTypeDescriptor.cs
- TouchesCapturedWithinProperty.cs
- WebServiceParameterData.cs
- EndGetFileNameFromUserRequest.cs
- EventWaitHandleSecurity.cs
- SystemNetworkInterface.cs
- ClientSettingsProvider.cs
- HtmlInputPassword.cs
- ImpersonateTokenRef.cs
- SwitchLevelAttribute.cs
- PrePostDescendentsWalker.cs
- DataSetMappper.cs
- cryptoapiTransform.cs
- CheckoutException.cs
- CircleHotSpot.cs
- ToolBar.cs
- MethodImplAttribute.cs
- FrameworkElementFactoryMarkupObject.cs
- DocumentationServerProtocol.cs
- EventLevel.cs
- MsmqHostedTransportManager.cs
- TextBoxLine.cs
- NativeMethods.cs
- OdbcReferenceCollection.cs
- Certificate.cs
- TextHintingModeValidation.cs
- RequestQueue.cs
- HttpStreamMessageEncoderFactory.cs
- StringDictionaryCodeDomSerializer.cs
- SimpleHandlerFactory.cs
- CriticalFinalizerObject.cs
- WebPartConnectionCollection.cs
- ViewCellSlot.cs
- DataFormat.cs
- RegionData.cs
- ProxyOperationRuntime.cs