Title / Description
Code Indexer.TFSUtil tfsUtil = new Indexer.TFSUtil(); tfsUtil.UnitTesting = true; Assert.IsNotNull(tfsUtil.ConnectToTFS(@"http://israel2-pc:8080/tfs/", @"israel2-pc\israel", "4341")); List<Indexer.TFSItem> itemsInFolder = tfsUtil.GetFilesInTFSDirectory(); Assert.IsNotNull(itemsInFolder); //Filter and send only .cs and .xml files itemsInFolder = itemsInFolder.FindAll((x) => x.FileType == ".cs" || x.FileType == ".xml"); tfsUtil.SaveFilesToDatabase(itemsInFolder);
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code