public DatasetFileViewModel(DatasetFile datasetFile, string epsgName, bool selectedForDownload = false) { Title = datasetFile.Title; Description = datasetFile.Description; Url = datasetFile.Url; LastUpdated = datasetFile.LastUpdated; Organization = datasetFile.Organization; Category = datasetFile.Projection; DatasetId = datasetFile.DatasetId; DatasetUrl = datasetFile.DatasetUrl; Id = GetId(); SelectedForDownload = selectedForDownload; IsRestricted = datasetFile.IsRestricted(); Restrictions = datasetFile.Restrictions; EpsgName = epsgName; }
public DatasetFileViewModel(DatasetFile datasetFile, string epsgName, bool selectedForDownload = false) { Title = datasetFile.Title; Description = datasetFile.Description; Url = datasetFile.Url; LastUpdated = datasetFile.LastUpdated; Organization = datasetFile.Organization; Category = datasetFile.Projection; Format = datasetFile.Format; AreaCode = datasetFile.AreaCode; AreaLabel = datasetFile.AreaLabel; County = datasetFile.County; DatasetId = datasetFile.DatasetId; DatasetUrl = FixDatasetUrl(datasetFile.DatasetUrl); Id = GetId(); SelectedForDownload = selectedForDownload; IsRestricted = datasetFile.IsRestricted(); Restrictions = datasetFile.Restrictions; EpsgName = epsgName; }