Пример #1
0
 private NameValueCollection CreateQueryString(SmartEmailListStatus status, string clientId = null)
 {
     return(this.CreateQueryString(
                clientId,
                query: new NameValueCollection
     {
         { "status", status.Encode() }
     }));
 }
Пример #2
0
        public RateLimited <SmartEmailListDetail[]> List(string clientId, SmartEmailListStatus status = SmartEmailListStatus.All)
        {
            if (clientId == null)
            {
                throw new ArgumentNullException("clientId");
            }

            return(List(CreateQueryString(status, clientId)));
        }
Пример #3
0
 public RateLimited <SmartEmailListDetail[]> List(SmartEmailListStatus status = SmartEmailListStatus.All)
 {
     return(List(CreateQueryString(status)));
 }
Пример #4
0
 public RateLimited<SmartEmailListDetail[]> List(SmartEmailListStatus status = SmartEmailListStatus.All)
 {
     return List(CreateQueryString(status));
 }
Пример #5
0
 private NameValueCollection CreateQueryString(SmartEmailListStatus status, string clientId = null)
 {
     return this.CreateQueryString(
         clientId,
         query: new NameValueCollection
             {
                 { "status", status.Encode() }
             });
 }
Пример #6
0
        public RateLimited<SmartEmailListDetail[]> List(string clientId, SmartEmailListStatus status = SmartEmailListStatus.All)
        {
            if (clientId == null) throw new ArgumentNullException("clientId");

            return List(CreateQueryString(status, clientId));
        }