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

                ToString(fg, printMask);
                return(fg.ToString());
            }
 public void ToString(FileGeneration fg, SeasonalIngredientProduction.Mask <bool>?printMask = null)
 {
     fg.AppendLine($"{nameof(SeasonalIngredientProduction.Mask<TItem>)} =>");
     fg.AppendLine("[");
     using (new DepthWrapper(fg))
     {
         if (printMask?.Spring ?? true)
         {
             fg.AppendItem(Spring, "Spring");
         }
         if (printMask?.Summer ?? true)
         {
             fg.AppendItem(Summer, "Summer");
         }
         if (printMask?.Fall ?? true)
         {
             fg.AppendItem(Fall, "Fall");
         }
         if (printMask?.Winter ?? true)
         {
             fg.AppendItem(Winter, "Winter");
         }
     }
     fg.AppendLine("]");
 }
            public Mask <R> Translate <R>(Func <TItem, R> eval)
            {
                var ret = new SeasonalIngredientProduction.Mask <R>();

                this.Translate_InternalFill(ret, eval);
                return(ret);
            }