public string ToString(SoundRepeat.Mask <bool>?printMask = null) { var fg = new FileGeneration(); ToString(fg, printMask); return(fg.ToString()); }
public void ToString(FileGeneration fg, SoundRepeat.Mask <bool>?printMask = null) { fg.AppendLine($"{nameof(SoundRepeat.Mask<TItem>)} =>"); fg.AppendLine("["); using (new DepthWrapper(fg)) { if (printMask?.Versioning ?? true) { fg.AppendItem(Versioning, "Versioning"); } if (printMask?.MinTime ?? true) { fg.AppendItem(MinTime, "MinTime"); } if (printMask?.MaxTime ?? true) { fg.AppendItem(MaxTime, "MaxTime"); } if (printMask?.Stackable ?? true) { fg.AppendItem(Stackable, "Stackable"); } } fg.AppendLine("]"); }
public Mask <R> Translate <R>(Func <TItem, R> eval) { var ret = new SoundRepeat.Mask <R>(); this.Translate_InternalFill(ret, eval); return(ret); }