public bool Contains(string name) { if (null == name) { return(false); } if (!name.StartsWith("@")) { name = "@" + name; } return(_Values.ContainsKey(name)); }
public Energy.Enumeration.FormatType GetType(string name) { if (null == name) { return(Enumeration.FormatType.Text); } if (!name.StartsWith("@")) { name = "@" + name; } if (!_Types.ContainsKey(name)) { return(Enumeration.FormatType.Text); } return(_Types[name]); }