Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media / textformatting / CultureSpecificCharacterBufferRange.cs / 1 / CultureSpecificCharacterBufferRange.cs
//---------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // Description: CultureSpecificCharacterBufferRange class // // History: // 8/30/2005 garyyang - Created it // //--------------------------------------------------------------------------- using System; using System.Globalization; using System.Windows.Media.TextFormatting; using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; namespace System.Windows.Media.TextFormatting { ////// Represents a range of characters that are associated with a culture /// public class CultureSpecificCharacterBufferRange { private CultureInfo _culture; private CharacterBufferRange _characterBufferRange; ////// Construct a CultureSpecificCharacterBufferRange class /// public CultureSpecificCharacterBufferRange(CultureInfo culture, CharacterBufferRange characterBufferRange) { _culture = culture; _characterBufferRange = characterBufferRange; } ////// Culture of the containing range of characters /// public CultureInfo CultureInfo { get { return _culture; } } ////// The character range /// public CharacterBufferRange CharacterBufferRange { get { return _characterBufferRange; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // Description: CultureSpecificCharacterBufferRange class // // History: // 8/30/2005 garyyang - Created it // //--------------------------------------------------------------------------- using System; using System.Globalization; using System.Windows.Media.TextFormatting; using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; namespace System.Windows.Media.TextFormatting { ////// Represents a range of characters that are associated with a culture /// public class CultureSpecificCharacterBufferRange { private CultureInfo _culture; private CharacterBufferRange _characterBufferRange; ////// Construct a CultureSpecificCharacterBufferRange class /// public CultureSpecificCharacterBufferRange(CultureInfo culture, CharacterBufferRange characterBufferRange) { _culture = culture; _characterBufferRange = characterBufferRange; } ////// Culture of the containing range of characters /// public CultureInfo CultureInfo { get { return _culture; } } ////// The character range /// public CharacterBufferRange CharacterBufferRange { get { return _characterBufferRange; } } } } // 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
- DateTimeOffset.cs
- ToggleButtonAutomationPeer.cs
- DbTransaction.cs
- QueryCreatedEventArgs.cs
- StringResourceManager.cs
- HybridObjectCache.cs
- OptimizedTemplateContentHelper.cs
- ArcSegment.cs
- ApplicationSecurityInfo.cs
- ComPlusContractBehavior.cs
- Int64Storage.cs
- WorkflowDurableInstance.cs
- TdsParserHelperClasses.cs
- DrawingContextWalker.cs
- PropertyToken.cs
- StreamAsIStream.cs
- UIElement.cs
- TemplateBamlRecordReader.cs
- DataTrigger.cs
- MasterPage.cs
- XamlWriter.cs
- TextSpan.cs
- HandlerBase.cs
- InheritanceAttribute.cs
- DiscoveryMessageSequence.cs
- MemoryRecordBuffer.cs
- AutoResetEvent.cs
- AssemblyCache.cs
- SerializationTrace.cs
- GeometryHitTestResult.cs
- CryptoApi.cs
- ActiveXMessageFormatter.cs
- Process.cs
- DbProviderSpecificTypePropertyAttribute.cs
- RadioButton.cs
- NavigationFailedEventArgs.cs
- FeatureSupport.cs
- PropertyGeneratedEventArgs.cs
- MailDefinition.cs
- TdsParserSessionPool.cs
- ForwardPositionQuery.cs
- RuleSettings.cs
- MetaColumn.cs
- InlineUIContainer.cs
- AuthenticationManager.cs
- ResponseStream.cs
- WorkerRequest.cs
- Effect.cs
- InputScope.cs
- WindowsEditBox.cs
- FixedSOMPageElement.cs
- XslNumber.cs
- OdbcConnectionFactory.cs
- MediaTimeline.cs
- Input.cs
- CodeCastExpression.cs
- WebPartUtil.cs
- XmlAttribute.cs
- MailAddress.cs
- SqlParameter.cs
- ThemeDirectoryCompiler.cs
- FamilyMap.cs
- SimpleWorkerRequest.cs
- CodeChecksumPragma.cs
- RawUIStateInputReport.cs
- RegularExpressionValidator.cs
- TextParaClient.cs
- SafeNativeMethodsCLR.cs
- Decimal.cs
- SafeLibraryHandle.cs
- ChineseLunisolarCalendar.cs
- Pkcs7Signer.cs
- SelectionItemPattern.cs
- BidOverLoads.cs
- SettingsPropertyWrongTypeException.cs
- HtmlImage.cs
- IdentityModelDictionary.cs
- SectionXmlInfo.cs
- HttpApplicationFactory.cs
- EmptyControlCollection.cs
- SmiEventSink_Default.cs
- UIInitializationException.cs
- CompatibleIComparer.cs
- RenderCapability.cs
- TemplateControlCodeDomTreeGenerator.cs
- SchemaElementDecl.cs
- Int32Storage.cs
- GeneralTransform2DTo3D.cs
- VBCodeProvider.cs
- HtmlTextArea.cs
- SparseMemoryStream.cs
- PersonalizationProviderCollection.cs
- GenericAuthenticationEventArgs.cs
- SqlRowUpdatedEvent.cs
- EventBuilder.cs
- OracleString.cs
- ResourceIDHelper.cs
- GridLength.cs
- SizeIndependentAnimationStorage.cs
- MessagingDescriptionAttribute.cs