} // end of Init() public static Unicode.UnicodeCharData GetCharInfo(char c) { Debug.Assert(charDict != null, "Looks like we need to init this sooner."); Unicode.UnicodeCharData result = null; charDict.TryGetValue(c, out result); return(result); } // end of GetCharInfo()
public FatChar(char c) { this.c = c; Unicode.UnicodeCharData data = Unicode.GetCharInfo(c); this.originalType = this.type = data.type; this.mirrored = data.mirrored; this.mirroredChar = data.mirroredChar; this.level = 0; }