EddiDataDefinitions.Superpower.FromEDName C# (CSharp) Method

FromEDName() public static method

public static FromEDName ( string from ) : Superpower
from string
return Superpower
        public static Superpower FromEDName(string from)
        {
            string tidiedFrom = from == null ? null : from.ToLowerInvariant();
            return SUPERPOWERS.FirstOrDefault(v => v.edname.ToLowerInvariant() == tidiedFrom);
        }
    }