Ejemplo n.º 1
0
        public EmarsysClient(EmarsysOptions options)
        {
            _options = options;

            if (_client == null)
            {
                _client = new HttpClient {
                    BaseAddress = new Uri(DefaultBaseApiUri)
                };
            }
        }
Ejemplo n.º 2
0
 public EmarsysClient(HttpClient client, EmarsysOptions options) : this(options)
 {
     _client = client;
 }
Ejemplo n.º 3
0
 public EmarsysClient(string baseApiUri, EmarsysOptions options) : this(options)
 {
     _client = new HttpClient {
         BaseAddress = new Uri(baseApiUri)
     };
 }