Exemple #1
0
 public string RewriteTest(string text)
 {
     ITextSplitter rowSplitter = new NewLineSplitter();
     ITextSplitter columnSplitter = new TabSplitter();
     ITextRewriter target = new TableRewriter(rowSplitter, columnSplitter);
     return target.Rewrite(text);
 }
Exemple #2
0
        public MainWindow()
        {
            InitializeComponent();

            ITextSplitter columnSplitter = new NewLineSplitter();
            ITextSplitter rowSplitter = new TabSplitter();
            tableRewriter = new TableRewriter(columnSplitter, rowSplitter);
        }