/// <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)); }
/// <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)); }