예제 #1
0
        public void DateOfBirth()
        {
            var person = new Utils.Object("First.Person");

            if (person.AssertClass())
            {
                person.AssertProperty("DateOfBirth", Utils.PropertyAccess.ReadWrite, typeof(DateTime));
            }
        }
예제 #2
0
        public void Player2Name()
        {
            var board = new Utils.Object("First.ScoreBoard");

            if (board.AssertClass())
            {
                board.AssertProperty("Player2Name", Utils.PropertyAccess.ReadWrite, typeof(string));
            }
        }
예제 #3
0
        public void LastName()
        {
            var person = new Utils.Object("First.Person");

            if (person.AssertClass())
            {
                person.AssertProperty("LastName", Utils.PropertyAccess.ReadWrite, typeof(string));
            }
        }
예제 #4
0
        public void Player2Score()
        {
            var board = new Utils.Object("First.ScoreBoard");

            if (board.AssertClass())
            {
                board.AssertProperty("Player2Score", Utils.PropertyAccess.ReadOnly, typeof(int));
            }
        }