Пример #1
0
        /// <summary>
        /// Initializes a new instance of the ServiceBase class.
        /// </summary>
        internal ServiceBase(DeployitServer server, string commandPrefix)
        {
            if (server == null)
            {
                throw new ArgumentNullException("server", "server is null.");
            }
            if (String.IsNullOrEmpty(commandPrefix))
            {
                throw new ArgumentException("commandPrefix is null or empty.", "commandPrefix");
            }

            Server         = server;
            _commandPrefix = commandPrefix;
        }
Пример #2
0
 public RepositoryService(DeployitServer server)
     : base(server, "repository")
 {
 }
Пример #3
0
 public PackageService(DeployitServer server)
     : base(server, "package")
 {
 }
 public DeploymentService(DeployitServer server)
     : base(server, "deployment")
 {
 }
Пример #5
0
 public TaskService(DeployitServer server)
     : base(server, "task")
 {
 }
Пример #6
0
 public MetadataService(DeployitServer server) : base(server, "metadata")
 {
 }