示例#1
0
文件: TeamTO.cs 项目: OSEHRA/mdws
 public TeamTO(Team mdo)
 {
     this.id = mdo.Id;
     this.name = mdo.Name;
     this.pcpName = mdo.PcpName;
     this.attendingName = mdo.AttendingName;
 }
示例#2
0
文件: TeamTest.cs 项目: OSEHRA/mdo
 public void testEmptyConstructor()
 {
     Team theTeam = new Team();
     Assert.IsNull(theTeam.Id);
     Assert.IsNull(theTeam.Name);
 }
示例#3
0
文件: TeamTest.cs 项目: OSEHRA/mdo
 public void testConstructor()
 {
     Team theTeam = new Team("any ID", "Joe Foo");
     Assert.AreEqual("any ID", theTeam.Id);
     Assert.AreEqual("Joe Foo", theTeam.Name);
 }