22 writes to StringVal
Microsoft.JSInterop.Tests (22)
Infrastructure\DotNetDispatcherTest.cs (22)
116var arg3 = new TestDTO { IntVal = 999, StringVal = "My string" };
123new TestDTO { StringVal = "Another string", IntVal = 456 },
156var arg3 = new TestDTO { IntVal = 999, StringVal = "My string" };
163new TestDTO { StringVal = "Another string", IntVal = 456 },
267var testDTO = new TestDTO { StringVal = "Hello", IntVal = 4 };
321var testDTO = new TestDTO { StringVal = "Hello", IntVal = 4 };
451var arg2 = new TestDTO { IntVal = 1234, StringVal = "My string" };
546new TestDTO { StringVal = "Another string", IntVal = 456 },
567new TestDTO { StringVal = "Another string", IntVal = 456 },
588var arg2 = new TestDTO { IntVal = 1234, StringVal = "My string" };
596new TestDTO { IntVal = 1000, StringVal = "String via JSON" },
627var arg2 = new TestDTO { IntVal = 1234, StringVal = "My string" };
635new TestDTO { IntVal = 1000, StringVal = "String via JSON" },
875=> new TestDTO { StringVal = "Test", IntVal = 123 };
883StringVal = dtoViaJson.StringVal.ToUpperInvariant(),
888StringVal = dtoByRef.Value.StringVal.ToUpperInvariant(),
899=> new TestDTO { StringVal = "InvokableMethodWithoutCustomIdentifier", IntVal = 456 };
919StringVal = someDTO.StringVal.ToUpperInvariant()
933StringVal = dtoViaJson.StringVal.ToUpperInvariant(),
938StringVal = dtoByRef.StringVal.ToUpperInvariant(),
952StringVal = dtoViaJson.StringVal.ToUpperInvariant(),
957StringVal = dtoByRef.StringVal.ToUpperInvariant(),
18 references to StringVal
Microsoft.JSInterop.Tests (18)
Infrastructure\DotNetDispatcherTest.cs (18)
94Assert.Equal("Test", result.StringVal);
107Assert.Equal("InvokableMethodWithoutCustomIdentifier", result.StringVal);
136Assert.Equal("ANOTHER STRING", resultDto1.StringVal);
141Assert.False(resultDto2Ref.TryGetProperty(nameof(TestDTO.StringVal), out _));
146Assert.Equal("MY STRING", resultDto2.StringVal);
279Assert.Equal(testDTO.StringVal, result.StringVal);
464Assert.Equal("MY STRING", resultDto.StringVal);
612Assert.Equal("STRING VIA JSON", result.SomeDTO.StringVal);
617Assert.Equal("MY STRING", resultDto2.StringVal);
804Assert.Null(value.StringVal);
883StringVal = dtoViaJson.StringVal.ToUpperInvariant(),
888StringVal = dtoByRef.Value.StringVal.ToUpperInvariant(),
919StringVal = someDTO.StringVal.ToUpperInvariant()
933StringVal = dtoViaJson.StringVal.ToUpperInvariant(),
938StringVal = dtoByRef.StringVal.ToUpperInvariant(),
952StringVal = dtoViaJson.StringVal.ToUpperInvariant(),
957StringVal = dtoByRef.StringVal.ToUpperInvariant(),