Exemplo n.º 1
0
            public string ToString(SoundOutputData.Mask <bool>?printMask = null)
            {
                var fg = new FileGeneration();

                ToString(fg, printMask);
                return(fg.ToString());
            }
Exemplo n.º 2
0
            public Mask <R> Translate <R>(Func <TItem, R> eval)
            {
                var ret = new SoundOutputData.Mask <R>();

                this.Translate_InternalFill(ret, eval);
                return(ret);
            }
Exemplo n.º 3
0
 public void ToString(FileGeneration fg, SoundOutputData.Mask <bool>?printMask = null)
 {
     fg.AppendLine($"{nameof(SoundOutputData.Mask<TItem>)} =>");
     fg.AppendLine("[");
     using (new DepthWrapper(fg))
     {
         if (printMask?.Flags ?? true)
         {
             fg.AppendItem(Flags, "Flags");
         }
         if (printMask?.Unknown ?? true)
         {
             fg.AppendItem(Unknown, "Unknown");
         }
         if (printMask?.ReverbSendPercent ?? true)
         {
             fg.AppendItem(ReverbSendPercent, "ReverbSendPercent");
         }
     }
     fg.AppendLine("]");
 }