Esempio n. 1
0
 /// <inheritdoc />
 public TagDocumentItem(CharacterLocation location,
                        TagDocumentProviderFunction action,
                        string tagKeyword,
                        string value,
                        IEnumerable <ITokenOption> tagCreationOptions) : base(location, value, tagCreationOptions)
 {
     _action    = action;
     TagKeyword = tagKeyword;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="tag">Should contain full tag like <code>#Anything</code> excluding the brackets and any parameter</param>
 /// <param name="action"></param>
 public TagRegexDocumentItemProvider(Regex tag, TagDocumentProviderFunction action) : base(tag)
 {
     _action = action;
 }
Esempio n. 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="tagKeyword">Should contain full tag like <code>#Anything</code> excluding the brackets and any parameter</param>
 /// <param name="action"></param>
 public TagDocumentItemProvider(string tagKeyword, TagDocumentProviderFunction action) : base(tagKeyword)
 {
     _action = action;
 }
 /// <inheritdoc />
 public TagDocumentItem(TagDocumentProviderFunction action, string value)
 {
     _action = action;
     Value   = value;
 }