Example #1
0
 /// <summary>
 /// Constructor for Position using Position_Serialised object.
 /// For use when de-serialising.
 /// </summary>
 /// <param name="ps">Position_Serialised object to use as source</param>
 public Position(Position_Serialised ps)
     : base(ps: ps)
 {
     this.officeHolder = ps.officeHolder;
     // nationality to be inserted later
     this.nationality = null;
 }
Example #2
0
 /// <summary>
 /// Constructor for Rank using Position_Serialised object
 /// For use when de-serialising
 /// </summary>
 /// <param name="ps">Position_Serialised object to use as source</param>
 public Rank(Position_Serialised ps)
 {
     this.id      = ps.id;
     this.title   = ps.title;
     this.stature = ps.stature;
 }