Ejemplo n.º 1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="AssemblyTargetLoader{TTarget,TAssembly,TType}" /> class.
 /// </summary>
 public AssemblyTargetLoader(ITypeExtractor <TAssembly, TType> typeExtractor,
                             IAssemblyLoader <TAssembly> assemblyLoader)
 {
     _assemblyActionLoader =
         new AssemblyActionLoader <TTarget, TAssembly, TType>(() => TypeLoaders, typeExtractor);
     _assemblyLoader = assemblyLoader;
 }
Ejemplo n.º 2
0
 public EndOfTurn(IPlayersLoader players, IProvincesLoader pr, IActionLoader actions, IActivePlayer active, IPowersLoader powers)
 {
     this.players = players;
     this.pr      = pr;
     this.actions = actions;
     this.active  = active;
     this.powers  = powers;
 }
Ejemplo n.º 3
0
 public NewGame(ISettingsLoader sl, IPlayersLoader players, IProvincesLoader provinces, IActionLoader actions, IActivePlayer active, IPowersLoader powers)
 {
     this.sl        = sl;
     this.players   = players;
     this.provinces = provinces;
     this.actions   = actions;
     this.active    = active;
     this.powers    = powers;
 }
Ejemplo n.º 4
0
		public NewGame(ISettingsLoader sl, IPlayersLoader players, IProvincesLoader provinces, IActionLoader actions, IActivePlayer active, IPowersLoader powers, ILoginSession login, IGameLoader game, IFormerPlayersLoader former)
		{
			this.sl = sl;
			this.players = players;
			this.provinces = provinces;
			this.actions = actions;
			this.active = active;
			this.powers = powers;
			this.login = login;
			this.game = game;
			this.former = former;
		}