private void DoProcess(int type, string[] ids, DepProject project, int version) { foreach (var item in ids) { int id = 0; if (int.TryParse(item, out id)) { SvnProcesser.AppendDeploy(type, project.Ip, id, version); } } }