Ejemplo n.º 1
0
 public CurrencyMiddleware(ServerConnectionState serverConnection, CurrencyStorage localStorage)
 {
     Ensure.NotNull(serverConnection, "serverConnection");
     Ensure.NotNull(localStorage, "localStorage");
     this.serverConnection = serverConnection;
     this.localStorage     = localStorage;
 }
Ejemplo n.º 2
0
 public CurrencyMiddleware(NetworkState network, CurrencyStorage localStorage)
 {
     Ensure.NotNull(network, "network");
     Ensure.NotNull(localStorage, "localStorage");
     this.network      = network;
     this.localStorage = localStorage;
 }