public TenroxClientRepository(Uri webServiceEndpoint, ITracmanCache cache) { if (webServiceEndpoint == null) throw new ArgumentNullException("webServiceEndpoint"); if (cache == null) throw new ArgumentNullException("cache"); _webServiceEndpoint = webServiceEndpoint; _cache = cache; }
public TenroxIdentityCache(ITenroxAuthenticator authenticator, ITracmanCache cache) { if (authenticator == null) throw new ArgumentNullException("authenticator"); if (cache == null) throw new ArgumentNullException("cache"); _authenticator = authenticator; _cache = cache; }