C# Класс Microsoft.Automata.Internal.Utilities.UnicodeCategoryRangesGenerator

Utility for generating unicode category ranges and corresponing binary decision diagrams
Показать файл Открыть проект

Открытые методы

Метод Описание
Generate ( string namespacename, string classname, string path ) : void

Create a file classname.cs in the directory path. The file contains the static class with name classname and has namespace namespacename. The class has static fields that map unicode categories to their character ranges and provide whitespace ranges. The fields are for the ASCII case (7 bits), CP437 case (8 bits) and for UTF16 (16 bits). Overwrites an existing file, even if the existing file is write protected.

Приватные методы

Метод Описание
WriteRangeFields ( BitWidth encoding, StreamWriter sw, string field ) : void

Описание методов

Generate() публичный статический Метод

Create a file classname.cs in the directory path. The file contains the static class with name classname and has namespace namespacename. The class has static fields that map unicode categories to their character ranges and provide whitespace ranges. The fields are for the ASCII case (7 bits), CP437 case (8 bits) and for UTF16 (16 bits). Overwrites an existing file, even if the existing file is write protected.
public static Generate ( string namespacename, string classname, string path ) : void
namespacename string namespace for the class
classname string name of the class
path string path where the file is written
Результат void