Esempio n. 1
0
 static void SignIn(string email, string password)
 {
     DCT.Execute(c =>
     {
         using (var main = new MainClient())
             main.SignIn(SignInCallback, email, password);
     });
 }
Esempio n. 2
0
 private static void Ping()
 {
     DCT.Execute(c =>
     {
         var ping = c.ServiceClient.Ping();
         Console.WriteLine($"Ping data - {ping}");
         using (var main = new MainClient())
         {
             var ping2 = main.Ping();
             Console.WriteLine($"Ping main - {ping2}");
         }
     });
 }
Esempio n. 3
0
 static void Registaration(string email, string phone, string password, string firstname, string secondname, string middlename, DateTime?birthday = null)
 {
     using (var main = new MainClient())
         main.Registration(RegistarationCallback, email, phone, password, firstname, secondname, middlename);
 }