public override string GetOutputFileName() { var extIndex = InputFileName.IndexOf(".json"); if (extIndex >= 0) { return(InputFileName.Substring(0, extIndex)); } return(InputFileName); }
public override string GetOutputFileName() { string baseFileName; var extIndex = InputFileName.IndexOf(".json"); if (extIndex >= 0) { baseFileName = InputFileName.Substring(0, extIndex); } else { baseFileName = InputFileName; } return($"{baseFileName}.bin"); }