コード例 #1
0
        public ITempFile Get(IEnumerable <IModListingGetter> loadOrder)
        {
            var loadOrderFile = TempFileProvider.Create(
                Path.Combine(Paths.WorkingDirectory, Folder, RandomFileNameProvider.Get()));

            LoadOrderWriter.Write(
                loadOrderFile.File.Path,
                loadOrder,
                removeImplicitMods: true);

            return(loadOrderFile);
        }
コード例 #2
0
 public void NotTheSameTwice(
     RandomFileNameProvider sut)
 {
     sut.Get().Should().NotBe(sut.Get());
 }