Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SVNController"/> class.
        /// </summary>
        /// <param name="serverRootPath">The server root path.</param>
        /// <param name="severCommandPath">The sever command path.</param>
        /// <param name="serverRepositoriesPath">The server repositories path.</param>
        public SVNController(string serverRootPath, string severCommandPath, string serverRepositoriesPath)
        {
            _serverConfiguration = new SVNServerConfig(serverRootPath);
            _serverConfiguration.CommandRootDirectory    = severCommandPath;
            _serverConfiguration.RepositoryRootDirectory = serverRepositoriesPath;

            LoadRepositories();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SVNController"/> class.
 /// </summary>
 /// <param name="RepositoryPaths">A list of repository paths.</param>
 /// <param name="CommandPath">The command path to the Subversion command-line utilities.</param>
 public SVNController(List <string> RepositoryPaths, string CommandPath)
 {
     _serverConfiguration = new SVNServerConfig();
     _serverConfiguration.CommandRootDirectory = CommandPath;
     LoadRepositories(RepositoryPaths);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SVNController"/> class
 /// using a <see cref="SVNServerConfig"/> object.
 /// </summary>
 /// <param name="config">The configuration object for the server.</param>
 public SVNController(SVNServerConfig config)
 {
     _serverConfiguration = config;
     LoadRepositories();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SubversionServerController"/> class.
 /// </summary>
 /// <param name="RepositoryPaths">A list of repository paths.</param>
 /// <param name="CommandPath">The command path to the Subversion command-line utilities.</param>
 public SubversionServerController(IEnumerable <string> RepositoryPaths, string CommandPath)
 {
     _serverConfiguration = new SVNServerConfig();
     _serverConfiguration.CommandRootDirectory = CommandPath;
     LoadRepositories(RepositoryPaths);
 }