public TenroxIdentityCache(ITenroxAuthenticator authenticator, ITracmanCache cache) { if (authenticator == null) throw new ArgumentNullException("authenticator"); if (cache == null) throw new ArgumentNullException("cache"); _authenticator = authenticator; _cache = cache; }
public TenroxGateway(ITenroxAuthenticator authenticator, Uri timesheetsEndpoint) { if (authenticator == null) throw new ArgumentNullException("authenticator"); if (timesheetsEndpoint == null) throw new ArgumentNullException("timesheetsEndpoint"); _authenticator = authenticator; _timesheetsEndpoint = timesheetsEndpoint; }