public FolderDiffInternalsGetter(dynamic folderDiffObject, TfsTeamProjectCollection collection, string outputDirectory):base("", "", "", outputDirectory) { _folderDiff = new FolderDiffWrapper(folderDiffObject, FolderDiffWrapper.LoadVersonControlControlsAssemblyFromApplication()); _collection = collection; SourcePath = _folderDiff.Path1; TargetPath = _folderDiff.Path2; }
public override void Go() { SetupProjectCollection(); var srcSpec = VersionSpec.Latest; var targetSpec = VersionSpec.Latest; var recursion = RecursionType.Full; string assemblyPath = PathToTfsVcControlsDll; // TODO: Make this loaded from config or something if (_folderDiff == null) { _folderDiff = new FolderDiffWrapper(assemblyPath, SourcePath, srcSpec, TargetPath, targetSpec, GetVcs(), recursion); _folderDiff.ViewSame = ViewSame; _folderDiff.ViewDifferent = ViewDifferent; _folderDiff.ViewSourceOnly = ViewSourceOnly; _folderDiff.ViewTargetOnly = ViewTargetOnly; } else { } base.Go(); }