public static BitmapImage GetOperatorClassImageFromList(OperatorChildren children)
        {
            List <OperatorClass> temp = (from OperatorInfo info in children.ChildList where info.Type == OperatorType select info.Class).ToList();

            OperatorType = OperatorType.Elite0;
            return(temp.First().ToClassImage());
        }
        public static BitmapImage GetOperatorImageFromList(OperatorChildren children)
        {
            List <string> temp = (from OperatorInfo info in children.ChildList where info.Type == OperatorType select info.ImageCodename).ToList();

            OperatorType = OperatorType.Elite0;
            return(temp.First().ToOperatorImage());
        }