示例#1
0
 public static SVNModel AddModel(SVNModel m1, SVNModel m2)
 {
     m2.AddAdd(m1.Add);
     m2.AddDeleted(m1.Deleted);
     m2.AddModified(m1.Modified);
     return(m2);
 }
 public static SVNModel AddModel(SVNModel m1, SVNModel m2)
 {
     m2.AddAdd(m1.Add);
     m2.AddDeleted(m1.Deleted);            
     m2.AddModified(m1.Modified);
     return m2;
 }
 public static SVNModel AddAction(string Action, SVNModel model)
 {
     switch (Action)
     {
         case "M":
             model.AddModified(1);
             break;
         case "A":
             model.AddAdd(1);
             break;
         case "D":
             model.AddDeleted(1);
             break;
         default:
             break;
     }
     return model;
 }
示例#4
0
        public static SVNModel AddAction(string Action, SVNModel model)
        {
            switch (Action)
            {
            case "M":
                model.AddModified(1);
                break;

            case "A":
                model.AddAdd(1);
                break;

            case "D":
                model.AddDeleted(1);
                break;

            default:
                break;
            }
            return(model);
        }