示例#1
0
 public SmartWeChatRequest(string configPath = SmartWeChatConfig.DEFAULT_CONFIG_PATH, ILoggerFactory loggerFactory = null)
 {
     SmartWeChatConfig = new SmartWeChatConfig(configPath);
     if (loggerFactory != null)
     {
         SmartWeChatConfig.UseLog(loggerFactory);
     }
 }
示例#2
0
 public SmartWeChatRequest(SmartWeChatOptions options, ILoggerFactory loggerFactory = null)
 {
     SmartWeChatConfig = new SmartWeChatConfig(options, loggerFactory);
 }