Beispiel #1
0
 public MetaDataRepositoryNoCache(TFSSourceControlService sourceControlService, ICredentials credentials, string serverUrl, string rootPath)
 {
     this.sourceControlService = sourceControlService;
     this.serverUrl            = serverUrl;
     this.rootPath             = rootPath;
     this.credentials          = credentials;
 }
 public PathParserProjectInDomain(string servers, TFSSourceControlService sourceControlService)
 {
     foreach (string singleServerUrl in servers.Split(','))
     {
         Uri ignored;
         if (Uri.TryCreate(singleServerUrl, UriKind.Absolute, out ignored) == false)
         {
             throw new InvalidOperationException("The url '" + servers + "' is not a valid url");
         }
     }
     this.server = servers;
     this.sourceControlService = sourceControlService;
 }
 public MetaDataRepositoryCache(
     TFSSourceControlService sourceControlService,
     ICredentials credentials,
     MemoryBasedPersistentCache persistentCache,
     string serverUrl,
     string rootPath)
 {
     this.sourceControlService = sourceControlService;
     this.serverUrl            = serverUrl;
     this.rootPath             = rootPath;
     this.credentials          = credentials;
     this.persistentCache      = persistentCache;
 }