Ejemplo n.º 1
0
 public SDGroup(SDGroup group)
 {
     //copy constructor
     Name     = group.Name;
     Required = group.Required;
     endorsers.AddRange(group.endorsers);
     endorsed = 0; // on copy reset to no endorsements
 }
Ejemplo n.º 2
0
 public LGroup(SDGroup group)
 {
     Endorsers.AddRange(group.Endorsers);
     StillRequired = group.StillRequired;
 }
Ejemplo n.º 3
0
        public void AddGroup(string key, int required, List <SDEndorser> endorsers)
        {
            SDGroup grp = new SDGroup(key, required, endorsers);

            groups.Add(grp);
        }