예제 #1
0
 public static async Task<Operator> Authenticate(string email, string password)
 {
     var commu = new Communicator();
     if (await commu.Authenticate(email, password))
     {
         // succeeded
         return new Operator(commu);
     }
     else
     {
         return null;
     }
 }
예제 #2
0
 private Operator(Communicator commu)
 {
     scm = commu;
 }