/// <inheritdoc /> public BlockDocumentItem(CharacterLocation location, BlockDocumentProviderFunction action, string value, IEnumerable <ITokenOption> tagCreationOptions) : base(location, value, tagCreationOptions) { _action = action; }
/// <inheritdoc /> public BlockRegexDocumentItemProvider(Regex tagOpen, Regex tagClose, BlockDocumentProviderFunction action) : base(tagOpen, tagClose) { _action = action; }
/// <inheritdoc /> public BlockDocumentItem(BlockDocumentProviderFunction action, string value) { _action = action; Value = value; }
/// <summary> /// Creates a new Block /// </summary> /// <param name="tagOpen">Should contain full tag like <code>#Anything</code> excluding the brackets and any parameter</param> /// <param name="tagClose">Should contain full tag like <code>/Anything</code> excluding the brackets and any parameter</param> /// <param name="action"></param> public BlockDocumentItemProvider(string tagOpen, string tagClose, BlockDocumentProviderFunction action) : base(tagOpen, tagClose) { _action = action; }