Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new <see cref="NullSmsSender"/> object.
 /// </summary>
 /// <param name="configuration">Configuration</param>
 public NullSmsSender(ISmsSenderConfiguration configuration)
     : base(configuration)
 {
     Logger = NullLogger.Instance;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Send Sms
 /// </summary>
 /// <param name="configuration"></param>
 protected SmsSenderBase(ISmsSenderConfiguration configuration)
 {
     _configuration = configuration;
 }
Ejemplo n.º 3
0
 //public ILogger Logger { get; set; }
 public AliDayuSmsSender(ISmsSenderConfiguration configuration) : base(configuration)
 {
     //Logger = NullLogger.Instance;
     profile = DefaultProfile.GetProfile("cn-hangzhou", configuration.GetAppKey(), configuration.GetAppSecret());
 }