コード例 #1
0
        public void HasChanged(string eventPropertyName, string testPropertyName, bool expected)
        {
            PropertyChangedEventArgs args = new PropertyChangedEventArgs(eventPropertyName);

            Assert.That(args.HasChanged(testPropertyName), Is.EqualTo(expected));
        }