10 instantiations of NotifiedClass
Microsoft.DotNet.XUnitAssert.Tests (10)
16 references to NotifiedClass
Microsoft.DotNet.XUnitAssert.Tests (16)
Asserts\PropertyAssertsTests.cs (16)
19 var obj = new NotifiedClass();
21 var ex = Record.Exception(() => Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () => { }));
30 var obj = new NotifiedClass();
32 var ex = Record.Exception(() => Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () => obj.Property2 = 42));
41 var obj = new NotifiedClass();
43 Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () => obj.Property1 = "NewValue");
49 var obj = new NotifiedClass();
51 Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () =>
72 var obj = new NotifiedClass();
74 var ex = await Record.ExceptionAsync(() => Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), () => Task.FromResult(0)));
84 var obj = new NotifiedClass();
87 var ex = await Record.ExceptionAsync(() => Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter));
96 var obj = new NotifiedClass();
99 await Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter);
105 var obj = new NotifiedClass();
114 await Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter);