public string ToString(EntryPoints.Mask <bool>?printMask = null)
            {
                var fg = new FileGeneration();

                ToString(fg, printMask);
                return(fg.ToString());
            }
            public Mask <R> Translate <R>(Func <TItem, R> eval)
            {
                var ret = new EntryPoints.Mask <R>();

                this.Translate_InternalFill(ret, eval);
                return(ret);
            }
 public void ToString(FileGeneration fg, EntryPoints.Mask <bool>?printMask = null)
 {
     fg.AppendLine($"{nameof(EntryPoints.Mask<TItem>)} =>");
     fg.AppendLine("[");
     using (new DepthWrapper(fg))
     {
         if (printMask?.Type ?? true)
         {
             fg.AppendItem(Type, "Type");
         }
         if (printMask?.Points ?? true)
         {
             fg.AppendItem(Points, "Points");
         }
     }
     fg.AppendLine("]");
 }