public void DateOfBirth() { var person = new Utils.Object("First.Person"); if (person.AssertClass()) { person.AssertProperty("DateOfBirth", Utils.PropertyAccess.ReadWrite, typeof(DateTime)); } }
public void Player2Name() { var board = new Utils.Object("First.ScoreBoard"); if (board.AssertClass()) { board.AssertProperty("Player2Name", Utils.PropertyAccess.ReadWrite, typeof(string)); } }
public void LastName() { var person = new Utils.Object("First.Person"); if (person.AssertClass()) { person.AssertProperty("LastName", Utils.PropertyAccess.ReadWrite, typeof(string)); } }
public void Player2Score() { var board = new Utils.Object("First.ScoreBoard"); if (board.AssertClass()) { board.AssertProperty("Player2Score", Utils.PropertyAccess.ReadOnly, typeof(int)); } }