public async System.Threading.Tasks.Task SetAwaitOnValueTest() { var val = new Regulus.Remote.Value <int>(); val.SetValue(1); Xunit.Assert.Equal(1, await val); }
public async System.Threading.Tasks.Task ConstructorOnValueTest() { var val = new Regulus.Remote.Value <int>(1); var vObs = from v in val.RemoteValue() select v; var result = await vObs.FirstAsync(); Xunit.Assert.Equal(1, result); }
Regulus.Remote.Value <System.Boolean> Regulus.Project.GameProject1.Data.IVerify.Login(System.String _1, System.String _2) { var returnValue = new Regulus.Remote.Value <System.Boolean>(); var info = typeof(Regulus.Project.GameProject1.Data.IVerify).GetMethod("Login"); _CallMethodEvent(info, new object[] { _1, _2 }, returnValue); return(returnValue); }
Regulus.Remote.Value <Regulus.Project.GameProject1.Data.ACCOUNT_REQUEST_RESULT> Regulus.Project.GameProject1.Data.IAccountManager.Update(Regulus.Project.GameProject1.Data.Account _1) { var returnValue = new Regulus.Remote.Value <Regulus.Project.GameProject1.Data.ACCOUNT_REQUEST_RESULT>(); var info = typeof(Regulus.Project.GameProject1.Data.IAccountManager).GetMethod("Update"); _CallMethodEvent(info, new object[] { _1 }, returnValue); return(returnValue); }
Regulus.Remote.Value <Regulus.Project.GameProject1.Data.Account[]> Regulus.Project.GameProject1.Data.IAccountManager.QueryAllAccount() { var returnValue = new Regulus.Remote.Value <Regulus.Project.GameProject1.Data.Account[]>(); var info = typeof(Regulus.Project.GameProject1.Data.IAccountManager).GetMethod("QueryAllAccount"); _CallMethodEvent(info, new object[] {}, returnValue); return(returnValue); }
Regulus.Remote.Value <Regulus.Project.GameProject1.Data.Account> Regulus.Project.GameProject1.Data.IAccountFinder.FindAccountById(System.Guid _1) { var returnValue = new Regulus.Remote.Value <Regulus.Project.GameProject1.Data.Account>(); var info = typeof(Regulus.Project.GameProject1.Data.IAccountFinder).GetMethod("FindAccountById"); _CallMethodEvent(info, new object[] { _1 }, returnValue); return(returnValue); }
Regulus.Remote.Value <Regulus.Project.GameProject1.Data.GamePlayerRecord> Regulus.Project.GameProject1.Data.IGameRecorder.Load(System.Guid _1) { var returnValue = new Regulus.Remote.Value <Regulus.Project.GameProject1.Data.GamePlayerRecord>(); var info = typeof(Regulus.Project.GameProject1.Data.IGameRecorder).GetMethod("Load"); _CallMethodEvent(info, new object[] { _1 }, returnValue); return(returnValue); }
Regulus.Remote.Value <System.Guid> Regulus.Project.GameProject1.Data.IStorageCompetences.QueryForId() { var returnValue = new Regulus.Remote.Value <System.Guid>(); var info = typeof(Regulus.Project.GameProject1.Data.IStorageCompetences).GetMethod("QueryForId"); _CallMethodEvent(info, new object[] {}, returnValue); return(returnValue); }
Regulus.Remote.Value <Regulus.Project.GameProject1.Data.Account.COMPETENCE[]> Regulus.Project.GameProject1.Data.IStorageCompetences.Query() { var returnValue = new Regulus.Remote.Value <Regulus.Project.GameProject1.Data.Account.COMPETENCE[]>(); var info = typeof(Regulus.Project.GameProject1.Data.IStorageCompetences).GetMethod("Query"); _CallMethodEvent(info, new object[] {}, returnValue); return(returnValue); }
public static IObservable <TValue> RemoteValue <TValue>(this Regulus.Remote.Value <TValue> ret) { return(new OnceRemoteReturnValueEvent <TValue>(ret)); }