예제 #1
0
 /// <summary>
 /// Clones the membership
 /// </summary>
 /// <returns>A clone of the membership</returns>
 public Object Clone()
 {
     Membership m;
     m = new Membership();
     m.setMembers((ArrayList)members.Clone());
     return(m);
 }
예제 #2
0
 /// <summary>
 /// Sets the membership to the specified membership
 /// </summary>
 /// <param name="m">New membership</param>
 public void set(Membership m)
 {
     clear();
     if(m != null)
     {
         add( m.getMembers() );
     }
 }