コード例 #1
0
        private static string GetUserInformation(ApplicationConfig appConfig, GameJoltUserProxy proxy, ServiceProxy service)
        {
            var task = service.Get(proxy.GetUsers(appConfig.GameId, appConfig.PrivateKey, "runewake2"));

            task.Wait();
            return(task.Result);
        }
コード例 #2
0
        static void Main(string[] args)
        {
            var appConfig = new ApplicationConfig();
            var proxy     = new GameJoltUserProxy();
            var service   = new ServiceProxy();

            System.Console.WriteLine(GetUserInformation(appConfig, proxy, service));
            System.Console.ReadLine();
        }