CultureSpecificCharacterBufferRange.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / textformatting / CultureSpecificCharacterBufferRange.cs / 1305600 / 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

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK