예제 #1
0
            public string ToString(MaterialSwap.Mask <bool>?printMask = null)
            {
                var fg = new FileGeneration();

                ToString(fg, printMask);
                return(fg.ToString());
            }
예제 #2
0
            public new Mask <R> Translate <R>(Func <TItem, R> eval)
            {
                var ret = new MaterialSwap.Mask <R>();

                this.Translate_InternalFill(ret, eval);
                return(ret);
            }
예제 #3
0
 public void ToString(FileGeneration fg, MaterialSwap.Mask <bool>?printMask = null)
 {
     fg.AppendLine($"{nameof(MaterialSwap.Mask<TItem>)} =>");
     fg.AppendLine("[");
     using (new DepthWrapper(fg))
     {
     }
     fg.AppendLine("]");
 }
예제 #4
0
 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));
 }
예제 #5
0
 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);
 }