Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Notifications"/> class.
 /// </summary>
 public Notifications()
 {
     this.sendEmailDelegate    = new SendEmailDelegate(this.SendEmail);
     this.sendSmsDelegate      = new SendSmsDelegate(this.SendSms);
     this.initiateCallDelegate = new InitiateCallDelegate(this.InitiateCall);
     this.sendToMshDelegate    = new SendToMshDelegate(this.SendToMsh);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Prepares SendSms for functioning
 /// </summary>
 /// <param name="sendSmsProc">Send sms proc.</param>
 public static void Prepare(SendSmsDelegate sendSmsProc)
 {
     Send = sendSmsProc;
 }