Exemplo n.º 1
0
 public DingTalkClient(ILoggerFactory loggerFactory,
                       IJsonSerializer jsonSerialzer)
 {
     DingTalkSettings = ObjectContainer.Resolve <Configuration>().Setting.GetDingTalkSetting();
     _logger          = loggerFactory.Create <DingTalkClient>();
     _jsonSerialzer   = jsonSerialzer;
 }
Exemplo n.º 2
0
 public static ConfigurationSetting SetDingDingTalkSetting(this ConfigurationSetting configurationSetting, DingTalkSettings dingTalkSetting)
 {
     _setting = dingTalkSetting;
     return(configurationSetting);
 }