Example #1
0
        public JsonResult GetGridNames()
        {
            IList <Grid> grids = new List <Grid>();

            foreach (string name in TRexGrids.GridNames())
            {
                grids.Add(new Grid(name));
            }

            return(Json(grids));
        }
Example #2
0
 public void GridNames()
 {
     TRexGrids.GridNames().Should().Contain(TRexGrids.GridName(StorageMutability.Mutable), TRexGrids.GridName(StorageMutability.Immutable));
 }