public override bool Equals(object o)
        {
            TemplateKey other = o as TemplateKey;

            if (other != null)
            {
                return(other.GetType() == this.GetType() && other.DataType == this.DataType);
            }

            return(false);
        }