public string ToString(MaterialSwap.Mask <bool>?printMask = null) { var fg = new FileGeneration(); ToString(fg, printMask); return(fg.ToString()); }
public new Mask <R> Translate <R>(Func <TItem, R> eval) { var ret = new MaterialSwap.Mask <R>(); this.Translate_InternalFill(ret, eval); return(ret); }
public void ToString(FileGeneration fg, MaterialSwap.Mask <bool>?printMask = null) { fg.AppendLine($"{nameof(MaterialSwap.Mask<TItem>)} =>"); fg.AppendLine("["); using (new DepthWrapper(fg)) { } fg.AppendLine("]"); }
public static string ToString( this IMaterialSwapGetter item, string?name = null, MaterialSwap.Mask <bool>?printMask = null) { return(((MaterialSwapCommon)((IMaterialSwapGetter)item).CommonInstance() !).ToString( item: item, name: name, printMask: printMask)); }
public static void ToString( this IMaterialSwapGetter item, FileGeneration fg, string?name = null, MaterialSwap.Mask <bool>?printMask = null) { ((MaterialSwapCommon)((IMaterialSwapGetter)item).CommonInstance() !).ToString( item: item, fg: fg, name: name, printMask: printMask); }