private System.IAsyncResult OnBeginUpdateGameState(object[] inValues, System.AsyncCallback callback, object asyncState) { string gameId = ((string)(inValues[0])); SchinkZeShips.Core.SchinkZeShipsReference.GameState gameState = ((SchinkZeShips.Core.SchinkZeShipsReference.GameState)(inValues[1])); return(((SchinkZeShips.Core.SchinkZeShipsReference.ISchinkZeShips)(this)).BeginUpdateGameState(gameId, gameState, callback, asyncState)); }
public System.IAsyncResult BeginUpdateGameState(string gameId, SchinkZeShips.Core.SchinkZeShipsReference.GameState gameState, System.AsyncCallback callback, object asyncState) { object[] _args = new object[2]; _args[0] = gameId; _args[1] = gameState; System.IAsyncResult _result = base.BeginInvoke("UpdateGameState", _args, callback, asyncState); return(_result); }
public void UpdateGameStateAsync(string gameId, SchinkZeShips.Core.SchinkZeShipsReference.GameState gameState, object userState) { if ((this.onBeginUpdateGameStateDelegate == null)) { this.onBeginUpdateGameStateDelegate = new BeginOperationDelegate(this.OnBeginUpdateGameState); } if ((this.onEndUpdateGameStateDelegate == null)) { this.onEndUpdateGameStateDelegate = new EndOperationDelegate(this.OnEndUpdateGameState); } if ((this.onUpdateGameStateCompletedDelegate == null)) { this.onUpdateGameStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateGameStateCompleted); } base.InvokeAsync(this.onBeginUpdateGameStateDelegate, new object[] { gameId, gameState }, this.onEndUpdateGameStateDelegate, this.onUpdateGameStateCompletedDelegate, userState); }
public void UpdateGameStateAsync(string gameId, SchinkZeShips.Core.SchinkZeShipsReference.GameState gameState) { this.UpdateGameStateAsync(gameId, gameState, null); }
System.IAsyncResult SchinkZeShips.Core.SchinkZeShipsReference.ISchinkZeShips.BeginUpdateGameState(string gameId, SchinkZeShips.Core.SchinkZeShipsReference.GameState gameState, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginUpdateGameState(gameId, gameState, callback, asyncState)); }