Example #1
0
        public ApiWrapper(IEngageNetSettings settings)
        {
            var url = settings.ApiBaseUrl;
            if (!url.EndsWith(@"/"))
                url = url + "/";

            _baseUrl = url;
            _apiKey = settings.ApiKey;
            _webProxy = settings.WebProxy;
        }
Example #2
0
 public EngageNet(IEngageNetSettings engageNetSettings)
     : this(new ApiWrapper(engageNetSettings))
 {
 }