Exemple #1
0
 public static TerrainDescriptionQueryListJson CreateFrom(List <TerrainDescriptionQuery> list)
 {
     return(new TerrainDescriptionQueryListJson()
     {
         AllQueries = list.Select(c => SerializableTerrainDescriptionQuery.CreateFrom(c)).ToList()
     });
 }
Exemple #2
0
 public static TerrainDescriptionQuery LoadFrom(SerializableTerrainDescriptionQuery query)
 {
     return(new TerrainDescriptionQuery()
     {
         QueryArea = SerializableMyRectangle.LoadFrom(query.QueryArea),
         RequestedElementDetails = query.RequestedElementDetails
     });
 }
Exemple #3
0
 public static List <TerrainDescriptionQuery> LoadFrom(TerrainDescriptionQueryListJson list)
 {
     return(list.AllQueries.Select(c => SerializableTerrainDescriptionQuery.LoadFrom(c)).ToList());
 }