C# Class Mono.Globalization.Unicode.Normalization

ファイルを表示 Open project: runefs/Marvin Class Usage Examples

Public Properties

Property Type Description
IsReady bool
isReady bool

Public Methods

Method Description
GetCanonical ( int c, int buf, int bufIdx ) : void
IsNormalized ( string source, int type ) : bool
Normalize ( string source, int type ) : string
QuickCheck ( char c, int type ) : NormalizationCheck

Private Methods

Method Description
CanBePrimaryComposite ( int i ) : bool
CharMapIdx ( int cp ) : int
Combine ( string source, int start, int checkType ) : StringBuilder
Combine ( StringBuilder sb, int start, int checkType ) : void
Compose ( string source, int checkType ) : string
Decompose ( string source, int checkType ) : string
Decompose ( string source, StringBuilder &sb, int checkType ) : void
DecomposeChar ( StringBuilder &sb, int &buf, string s, int i, int &start ) : void
GetCanonicalHangul ( int s, int buf, int bufIdx ) : bool
GetCombiningClass ( int c ) : byte
GetNormalizedStringLength ( int ch ) : int
GetPrimaryCompositeCharIndex ( object chars, int start ) : int
GetPrimaryCompositeFromMapIndex ( int src ) : int
GetPrimaryCompositeHelperIndex ( int cp ) : int
GetPrimaryCompositeMapIndex ( object o, int cur, int bufferPos ) : int
Normalization ( ) : System
PropValue ( int cp ) : uint
ReorderCanonical ( string src, StringBuilder &sb, int start ) : void
load_normalization_resource ( IntPtr &props, IntPtr &mappedChars, IntPtr &charMapIndex, IntPtr &helperIndex, IntPtr &mapIdxToComposite, IntPtr &combiningClass ) : void

Method Details

GetCanonical() public static method

public static GetCanonical ( int c, int buf, int bufIdx ) : void
c int
buf int
bufIdx int
return void

IsNormalized() public static method

public static IsNormalized ( string source, int type ) : bool
source string
type int
return bool

Normalize() public static method

public static Normalize ( string source, int type ) : string
source string
type int
return string

QuickCheck() public static method

public static QuickCheck ( char c, int type ) : NormalizationCheck
c char
type int
return NormalizationCheck

Property Details

IsReady public_oe static_oe property

public static bool IsReady
return bool

isReady public_oe static_oe property

public static bool isReady
return bool