public JsonResult GetGridNames() { IList <Grid> grids = new List <Grid>(); foreach (string name in TRexGrids.GridNames()) { grids.Add(new Grid(name)); } return(Json(grids)); }
public void GridNames() { TRexGrids.GridNames().Should().Contain(TRexGrids.GridName(StorageMutability.Mutable), TRexGrids.GridName(StorageMutability.Immutable)); }