예제 #1
0
파일: HttpWrapper.cs 프로젝트: nardin/mmbot
 public HttpWrapper(string baseUrl, ILog logger, Envelope envelope, HttpMessageHandler httpMessageHandler)
 {
     _logger = logger;
     _envelope = envelope;
     _baseUrl = new Uri(baseUrl);
     _httpMessageHandler = httpMessageHandler ?? new HttpClientHandler();
 }
예제 #2
0
파일: HttpWrapper.cs 프로젝트: nardin/mmbot
 public HttpWrapper(string baseUrl, ILog logger, Envelope envelope) : this(baseUrl, logger, envelope, null){}
예제 #3
0
파일: Adapter.cs 프로젝트: rdsimes/mmbot
 public virtual Task Topic(Envelope envelope, params string[] messages)
 {
     return TaskAsyncHelper.Empty;
 }
예제 #4
0
 public HttpWrapper(string baseUrl, ILog logger, Envelope envelope)
 {
     _logger = logger;
     _envelope = envelope;
     _baseUrl = new Uri(baseUrl);
 }
예제 #5
0
파일: Adapter.cs 프로젝트: dcr25568/mmbot
 public virtual Task Play(Envelope envelope, AdapterArguments adapterArgs, params string[] messages)
 {
     return TaskAsyncHelper.Empty;
 }
예제 #6
0
 public HttpWrapper(string baseUrl, ILog logger, Envelope envelope) : this(baseUrl, logger, envelope, null)
 {
 }