Esempio n. 1
0
 /// <summary>
 /// Determines whether the specified tag is allowed.
 /// </summary>
 /// <param name="tag">The tag.</param>
 /// <returns><c>true</c> if the tag is allowed; otherwise, <c>false</c>.</returns>
 private bool IsAllowedTag(IElement tag)
 {
     return(AllowedTags.Contains(tag.NodeName));
 }
Esempio n. 2
0
 /// <summary>
 /// Determines whether the specified tag is allowed.
 /// </summary>
 /// <param name="tag">The tag.</param>
 /// <returns><c>true</c> if the tag is allowed; otherwise, <c>false</c>.</returns>
 private bool IsAllowedTag(IDomNode tag)
 {
     return(AllowedTags.Contains(tag.NodeName));
 }