public void Setup()
 {
     _controller = new SnippetReplaceController(
         new[]
             {
                 "{nr1}",
                 "{nr2}",
                 "{nr3}",
                 "{nr4}"
             },
         getContent());
 }
示例#2
0
 public SnippetForm(string[] replaces, string content)
 {
     InitializeComponent();
     _controller = new SnippetReplaceController(replaces, content);
     updateForm();
 }
示例#3
0
 public SnippetForm(string[] replaces, string content)
 {
     InitializeComponent();
     _controller = new SnippetReplaceController(replaces, content);
     updateForm();
 }