示例#1
0
    public Property PropertyBySlug(string key)
    {
        var index = all.IndexOf(key);

        if (index < 0)
        {
            return(null);
        }
        return(all[index]);
    }