protected virtual void RegisterAttributes()
{
foreach (string key in this.Attributes.Keys)
{
string value = this.Attributes[key];
if (value != null && !this.CustomConfig.Contains(key))
{
this.RegisterCustomAttribute(key, TokenUtils.ParseTokens(value, this));
}
}
this.Attributes.Clear();
}