# AddPlayerRange



```
    /// <summary>
    /// 添加玩家
    /// </summary>
    /// <param name="collection"></param>
    public virtual void AddPlayerRange(IEnumerable<Player> collection)
    {
        foreach (Player p in collection)
            AddPlayer(p);
    }
```
