public ICredentialsRateLimits CreateRateLimits(CredentialsRateLimitsDTO dto)
        {
            if (dto == null)
            {
                return(null);
            }

            return(new CredentialsRateLimits(dto));
        }
Beispiel #2
0
 public CredentialsRateLimits(CredentialsRateLimitsDTO credentialsRateLimitsDTO)
 {
     CreatedAt = DateTime.Now;
     OtherEndpointRateLimits  = new Dictionary <TwitterEndpointAttribute, IEndpointRateLimit>();
     CredentialsRateLimitsDTO = credentialsRateLimitsDTO;
 }