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); }
protected TemplateKey(TemplateKey.TemplateType templateType, object dataType) { this.DataType = dataType; }
protected TemplateKey(TemplateKey.TemplateType templateType) { }