コード例 #1
0
        private partidas()
        {
            lista = new List <clsCategoriaYJugadoresBuscando>();

            clsCategoriaYJugadoresBuscando cat;

            foreach (KeyValuePair <String, String> category in Utils.Utils.Categories)
            {
                cat = new clsCategoriaYJugadoresBuscando(category.Key, category.Value, new List <clsJugador>(), new List <clsPartida>());

                lista.Add(cat);
            }
        }
コード例 #2
0
 public clsCategoriaYNumJugadoresBuscando(clsCategoriaYJugadoresBuscando categoria)
 {
     this.id     = categoria.Id;
     this.nombre = categoria.Nombre;
     this.numJugadoresBuscando = categoria.NumJugadoresBuscando;
 }