HttpSelfHostServer
This commit is contained in:
@ -99,9 +99,7 @@ public class ProcessData : IProcessData
|
||||
value = value.Replace("\"", "\\\"");
|
||||
if (value.Contains("\n"))
|
||||
value = value.Replace("\n", "<br />");
|
||||
name = table.Columns[j].ColumnName.ToString();
|
||||
if (name == ",")
|
||||
name = "Title";
|
||||
name = table.Columns[j].ColumnName.ToString().Trim();
|
||||
if (name.Contains("\""))
|
||||
name = name.Replace("\"", "\\\"");
|
||||
if (name.Contains("\n"))
|
||||
@ -134,7 +132,7 @@ public class ProcessData : IProcessData
|
||||
FIBacklogMesa[]? fIBacklogMesaCollection = JsonSerializer.Deserialize<FIBacklogMesa[]>(json, new JsonSerializerOptions() { PropertyNameCaseInsensitive = true });
|
||||
if (fIBacklogMesaCollection is null || !fIBacklogMesaCollection.Any())
|
||||
throw new NullReferenceException();
|
||||
json = JsonSerializer.Serialize(fIBacklogMesaCollection.OrderBy(l => l.Req), new JsonSerializerOptions() { WriteIndented = true });
|
||||
json = JsonSerializer.Serialize(from l in fIBacklogMesaCollection orderby l.Req.Length, l.Req select l, new JsonSerializerOptions() { WriteIndented = true });
|
||||
_Details.Add(json);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user