public ElementViewModel(Element element) : base() { _atomicNumber = element.AtomicNumber; _name = element.Name; _symbol = element.Symbol; }
private bool IsPossible(string word, Element elem) { return word.Length >= elem.Symbol.Length && word.Substring(0, elem.Symbol.Length).ToUpper().Contains(elem.Symbol.ToUpper()); }