示例#1
0
        public static bool CombinePath()
        {
            IFileTool target = ToolFactory.Ioc.Get <IFileTool>();

            string expected = string.Format("1{0}2{0}c", Path.DirectorySeparatorChar);
            string actual   = target.CombinePath("1", "2", "c");

            return(expected == actual);
        }
示例#2
0
 public LogFileReaderList(IFileTool fileTool)
 {
     _fileTool = fileTool;
 }
示例#3
0
 public FilePaths(IFileTool fileTool)
 {
     _fileTool = fileTool;
     _filePaths = new List<string>();
 }