Exemple #1
0
        protected override void DoAdd()
        {
            int    deployId    = Convert.ToInt32(GetParam("deployId"));
            int    serverId    = Convert.ToInt32(GetParam("serverId"));
            string name        = GetParam("Name");
            string webSite     = GetParam("WebSite");
            string deployPath  = GetParam("DeployPath");
            string excludeFile = GetParam("ExcludeFile");
            var    projectItem = new DepProjectItem()
            {
                Id          = 0,
                DepId       = deployId,
                Name        = name,
                WebSite     = webSite,
                DeployPath  = deployPath,
                ExcludeFile = excludeFile,
                ServerId    = serverId
            };

            SvnProcesser.AppendProjectItem(projectItem);
        }