Пример #1
0
 public void StopGenerateMessages()
 {
     SMSProvider?.Stop();
 }
Пример #2
0
 public SimCorpMobile(SMSProvider smsProvider) : this()
 {
     this.SMSProvider = smsProvider;
 }
Пример #3
0
 public void StartGenerateMessages(int numberOfMessages)
 {
     SMSProvider.SMSReceived += OnSMSRecieved;
     SMSProvider?.Start(numberOfMessages);
 }
Пример #4
0
 public void GenerateMessages(int numberOfMessages)
 {
     SMSProvider              = new SMSProvider();
     SMSProvider.SMSReceived += OnSMSRecieved;
     SMSProvider.GenerateMessages(numberOfMessages);
 }