Beispiel #1
0
        public StarterCollection(IRtdxRom rom, ILuaGenerator luaGenerator, ICSharpGenerator cSharpGenerator)
        {
            this.rom             = rom ?? throw new ArgumentNullException(nameof(rom));
            this.luaGenerator    = luaGenerator ?? throw new ArgumentNullException(nameof(luaGenerator));
            this.cSharpGenerator = cSharpGenerator ?? throw new ArgumentNullException(nameof(cSharpGenerator));

            this.Starters         = LoadStarters();
            this.OriginalStarters = Starters.Select(s => s.Clone()).ToArray();
        }
Beispiel #2
0
 public ConsoleAppGrader(ICSharpGenerator cSharpGenerator)
 {
     _cSharpGenerator = cSharpGenerator;
 }