protected Type IsTag(string text, int position)
{
foreach (Type myTagType in Tags)
{
MatchTagAttributeBase myMatchTagAttribute = TagBase.GetTagMatchAttribute(myTagType);
if (myMatchTagAttribute.Match(text, position))
return myTagType;
}
return null;
}