Esempio n. 1
0
 public override string ToString()
 {
     if (_layoutContent == default)
     {
         return(base.ToString());
     }
     else
     {
         return(PanoramaLayoutPrinter.Print(_layoutContent.AsKeyValueCollection()));
     }
 }
Esempio n. 2
0
 public string ToString(bool applySourceMapIfPresent)
 {
     if (applySourceMapIfPresent && SourceMap != default && SourceMap.Data.GetProperty <object>("DBITSLC") is not null)
     {
         var sourceBytes = PanoramaSourceMapDecoder.Decode(Data, SourceMap.AsKeyValueCollection());
         return(Encoding.UTF8.GetString(sourceBytes));
     }
     else
     {
         return(base.ToString());
     }
 }