8 instantiations of NotifiedClass
Microsoft.DotNet.XUnitAssert.Tests (8)
16 references to NotifiedClass
Microsoft.DotNet.XUnitAssert.Tests (16)
PropertyAssertsTests.cs (16)
22 var obj = new NotifiedClass();
24 var ex = Record.Exception(() => Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () => { }));
33 var obj = new NotifiedClass();
35 var ex = Record.Exception(() => Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () => obj.Property2 = 42));
44 var obj = new NotifiedClass();
46 Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () => obj.Property1 = "NewValue");
52 var obj = new NotifiedClass();
54 Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () =>
75 var obj = new NotifiedClass();
77 var ex = await Record.ExceptionAsync(() => Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), () => Task.FromResult(0)));
87 var obj = new NotifiedClass();
90 var ex = await Record.ExceptionAsync(() => Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter));
99 var obj = new NotifiedClass();
102 await Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter);
108 var obj = new NotifiedClass();
117 await Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter);