public SpecialContentTests() { var shortcodeProvider = new ShortcodeProvider(); shortcodeProvider.Add <DummyShortcode>(); shortcodeProvider.Add <DummySmallShortcode>(tag: "dummy-small"); shortcodeProvider.Add <DummyMediumShortcode>(tag: "dummy-medium"); shortcodeProvider.Add <DummyHardShortcode>(tag: "dummy-hard"); shortcodeProvider.Add <DummyAdvancedShortcode>(tag: "dummy-advanced"); _shortcodeParser = new ShortcodeParser(shortcodeProvider); }
public DummyShortcodeTests() { var shortcodeProvider = new ShortcodeProvider(); shortcodeProvider.Add <DummyShortcode>(); shortcodeProvider.Add <DummySmallShortcode>(tag: "dummy-small"); shortcodeProvider.Add <DummyMediumShortcode>(tag: "dummy-medium"); shortcodeProvider.Add <DummyHardShortcode>(tag: "dummy-hard"); shortcodeProvider.Add <DummyAdvancedShortcode>(tag: "dummy-advanced"); shortcodeProvider.Add <DummyListShortcode>(tag: "dummy-list"); shortcodeProvider.Add <DummyListItemShortcode>(tag: "dummy-list-item"); _shortcodeParser = new ShortcodeParser(shortcodeProvider); }
static ShortcodeConfiguration() { Provider = new ShortcodeProvider(); ParserFactory = new ShortcodeParserFactory(); }