public void ToString( IRegionLandGetter item, FileGeneration fg, string?name = null, RegionLand.Mask <bool>?printMask = null) { if (name == null) { fg.AppendLine($"RegionLand =>"); } else { fg.AppendLine($"{name} (RegionLand) =>"); } fg.AppendLine("["); using (new DepthWrapper(fg)) { ToStringFields( item: item, fg: fg, printMask: printMask); } fg.AppendLine("]"); }