Exemplo n.º 1
0
 public TenroxIdentityCache(ITenroxAuthenticator authenticator, ITracmanCache cache)
 {
     if (authenticator == null) throw new ArgumentNullException("authenticator");
     if (cache == null) throw new ArgumentNullException("cache");
     _authenticator = authenticator;
     _cache = cache;
 }
Exemplo n.º 2
0
 public TenroxGateway(ITenroxAuthenticator authenticator, Uri timesheetsEndpoint)
 {
     if (authenticator == null) throw new ArgumentNullException("authenticator");
     if (timesheetsEndpoint == null) throw new ArgumentNullException("timesheetsEndpoint");
     _authenticator = authenticator;
     _timesheetsEndpoint = timesheetsEndpoint;
 }