Exemple #1
0
 static string SerializeOutput(object?o)
 {
     return(o switch
     {
         null => "Null",
         StringStream ss => ss.NameInLogs(false),
         IArray array => array.NameInLogs,
         Unit => "Unit",
         _ => o.ToString() !
     });