Example #1
0
 public void Get(int version, string workspacePath)
 {
     vaultClient.ExecuteCommand(GetVersionCommand,
                                new[]
     {
         new PositionalArgument(version.ToString(CultureInfo.InvariantCulture)),
         new PositionalArgument(repositoryPath),
         new PositionalArgument(workspacePath)
     },
                                CommandLineClientArgument.RepositoryName(repositoryName),
                                CommandLineClientArgument.BackupBeforeOverwriting(false),
                                CommandLineClientArgument.MakeFilesWritable(),
                                CommandLineClientArgument.MergeStrategy(OverwriteMergeStrategyValue),
                                CommandLineClientArgument.FileDeletionStrategy(RemoveWorkingCopyStrategyValue),
                                CommandLineClientArgument.SetFileTime(CheckinFileDateValue),
                                CommandLineClientArgument.UseWorkingFolder(),
                                CommandLineClientArgument.VerboseLogging());
 }