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
- RepeatBehavior.cs
- CompilerScope.Storage.cs
- ImageListStreamer.cs
- RepeatInfo.cs
- WorkflowApplicationAbortedEventArgs.cs
- ActiveXContainer.cs
- StatusBarDesigner.cs
- SHA1Managed.cs
- GlyphInfoList.cs
- SessionParameter.cs
- _emptywebproxy.cs
- RsaSecurityToken.cs
- WsatServiceAddress.cs
- Int64Storage.cs
- RetriableClipboard.cs
- Evaluator.cs
- ButtonColumn.cs
- WebPartCancelEventArgs.cs
- CompareValidator.cs
- ResourceDisplayNameAttribute.cs
- AccessText.cs
- LightweightEntityWrapper.cs
- DictionaryBase.cs
- NopReturnReader.cs
- ResourcesBuildProvider.cs
- NullableConverter.cs
- StateMachineWorkflowInstance.cs
- AdvancedBindingPropertyDescriptor.cs
- HttpCachePolicy.cs
- EventSinkHelperWriter.cs
- ResponseStream.cs
- RectIndependentAnimationStorage.cs
- ActivityDelegate.cs
- DataGridCell.cs
- ConfigurationCollectionAttribute.cs
- SchemaTableColumn.cs
- ImageSource.cs
- DodSequenceMerge.cs
- MatcherBuilder.cs
- KeyboardNavigation.cs
- OperationFormatStyle.cs
- QilChoice.cs
- AdRotatorDesigner.cs
- AssemblyNameProxy.cs
- WebPartAddingEventArgs.cs
- ColorMatrix.cs
- WindowsStatic.cs
- SQLDoubleStorage.cs
- RankException.cs
- SiteMapNodeItem.cs
- DesignerOptionService.cs
- ConnectionStringSettings.cs
- XmlCharType.cs
- XmlILOptimizerVisitor.cs
- IProvider.cs
- DebuggerAttributes.cs
- UnsafeNativeMethods.cs
- SaveRecipientRequest.cs
- xmlformatgeneratorstatics.cs
- CellLabel.cs
- ExceptionUtil.cs
- PreDigestedSignedInfo.cs
- ConfigXmlSignificantWhitespace.cs
- ParseElementCollection.cs
- StrongNameIdentityPermission.cs
- RedistVersionInfo.cs
- UserControlParser.cs
- MembershipPasswordException.cs
- FileResponseElement.cs
- ConfigurationSchemaErrors.cs
- BuilderPropertyEntry.cs
- HandlerBase.cs
- XPathCompileException.cs
- CapabilitiesState.cs
- InvokeBinder.cs
- ReflectionTypeLoadException.cs
- MimeMapping.cs
- DataGridRow.cs
- SQLBinary.cs
- TypeConverterAttribute.cs
- ContextConfiguration.cs
- ValidatorCompatibilityHelper.cs
- InkCanvasSelectionAdorner.cs
- PathGeometry.cs
- ProviderException.cs
- SqlNodeAnnotations.cs
- ObjectCacheSettings.cs
- DataContractAttribute.cs
- ExpressionEditorAttribute.cs
- Encoding.cs
- RemotingConfigParser.cs
- GiveFeedbackEventArgs.cs
- CellTreeNodeVisitors.cs
- RuleConditionDialog.cs
- TextAnchor.cs
- HeaderFilter.cs
- DesignerOptionService.cs
- XPathExpr.cs
- DBSqlParserTable.cs
- Select.cs