private static void StartProgram() { outPut = new OutPutClass(); input = new InPutClass(); read = new ReadClass(); calculator = new Calculator(); converterClass = new ConverterClass(); outPut.Show(input.Input(_pathWelcome)); string _userString = read.ReadString(); if (CheckForErrorString(_userString)) { return; } converterClass.ConvertTuple(calculator.Calculate(_userString)); input.WriteFile(_pathEnd, converterClass.ReturnString()); outPut.Show(input.Input(_pathEnd)); }
public TodayWrite(IOutPut outPut) { _outPut = outPut; }
internal void SetOutPut(IOutPut Output) { output = Output; }
public MorseCodePlayer(IMorseCodePlayer player, IOutPut audioOutPut) { morseCodePlayer = player; outPut = audioOutPut; }
public GameBoard(IOutPut outPut, INoReader noReader, ICode code) { OutPut = outPut; NoReader = noReader; Code = code; }
/// <summary> /// 表名替换 /// </summary> /// <param name="outPut"></param> /// <param name="tableName"></param> /// <returns></returns> public static string ReplaceTablePath(this IOutPut outPut, string tableName) { return(outPut?.OutPutPath?.Replace("{TableName}", tableName)); }