public SmartWeChatRequest(string configPath = SmartWeChatConfig.DEFAULT_CONFIG_PATH, ILoggerFactory loggerFactory = null) { SmartWeChatConfig = new SmartWeChatConfig(configPath); if (loggerFactory != null) { SmartWeChatConfig.UseLog(loggerFactory); } }
public SmartWeChatRequest(SmartWeChatOptions options, ILoggerFactory loggerFactory = null) { SmartWeChatConfig = new SmartWeChatConfig(options, loggerFactory); }