private static UnicodeNode CreateWithHexCode(string hex) { var node = new UnicodeNode(); node.InputMode.Value = UnicodeNode.Modes.Hex; node.InputHexCode.Contents = hex; return(node); }
private static UnicodeNode CreateWithCategory(string unicodeCategory) { var node = new UnicodeNode(); node.InputMode.Value = UnicodeNode.Modes.Category; node.InputCategory.Contents = unicodeCategory; return(node); }