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