Example #1
0
        public Account CreateAccount()
        {
            var account = new Account();

            ListAccounts.Add(account);

            account.OnCallHandler += CallConnection;
            account.OnCallHandler += EndCall;
            account.OnSmsHandler  += SmsConnection;
            account.OnSmsHandler  += ReceiveSms;

            return(account);
        }
Example #2
0
        public Account CreateMobileAccount()
        {
            var mobileAccount = new Account();

            ListAccounts.Add(mobileAccount);

            mobileAccount.OnCallHandler += CallConnection;
            mobileAccount.OnCallHandler += EndCall;
            mobileAccount.OnSmsHandler  += SmsConnection;
            mobileAccount.OnSmsHandler  += ReceiveSms;

            return(mobileAccount);
        }
Example #3
0
 public void Handle(Core.Boundaries.List.Response response)
 {
     ListAccounts.Add(response);
 }