44 references to Value
BasicTestApp (28)
InteropTest\JavaScriptInterop.cs (27)
53Invocations[nameof(VoidWithThreeParameters)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue() }; 63Invocations[nameof(VoidWithFourParameters)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4 }; 74Invocations[nameof(VoidWithFiveParameters)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5 }; 86Invocations[nameof(VoidWithSixParameters)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6 }; 99Invocations[nameof(VoidWithSevenParameters)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6, parameter7 }; 113Invocations[nameof(VoidWithEightParameters)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6, parameter7, parameter8 }; 142return new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue() }; 152return new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4 }; 163return new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5 }; 174return new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6 }; 186return new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6, parameter7 }; 200return new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6, parameter7, parameter8 }; 232Invocations[nameof(VoidWithThreeParametersAsync)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue() }; 243Invocations[nameof(VoidWithFourParametersAsync)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4 }; 255Invocations[nameof(VoidWithFiveParametersAsync)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5 }; 268Invocations[nameof(VoidWithSixParametersAsync)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6 }; 282Invocations[nameof(VoidWithSevenParametersAsync)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6, parameter7 }; 297Invocations[nameof(VoidWithEightParametersAsync)] = new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6, parameter7, parameter8 }; 327return Task.FromResult(new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue() }); 337return Task.FromResult(new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4 }); 348return Task.FromResult(new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5 }); 359return Task.FromResult(new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6 }); 372return Task.FromResult(new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6, parameter7 }); 386return Task.FromResult(new object[] { parameter1, parameter2, parameter3.Value.GetNonSerializedValue(), parameter4, parameter5, parameter6, parameter7, parameter8 }); 411return objectByRef.Value.GetNonSerializedValue(); 465IncomingByRef = input.DTOByRef.Value.GetNonSerializedValue(), 481IncomingByRef = input.DTOByRef.Value.GetNonSerializedValue(),
ServerReliability\JSInterop.cs (1)
19return information.Value.Message;
Microsoft.JSInterop (1)
DotNetObjectReferenceOfT.cs (1)
76object IDotNetObjectReference.Value => Value;
Microsoft.JSInterop.Tests (15)
DotNetObjectReferenceTest.cs (1)
12Assert.Same(obj, DotNetObjectReference.Create(obj).Value);
Infrastructure\DotNetDispatcherTest.cs (8)
145var resultDto2 = Assert.IsType<DotNetObjectReference<TestDTO>>(jsRuntime.GetObjectReference(property.GetInt64())).Value; 462var resultDto = ((DotNetObjectReference<TestDTO>)jsRuntime.GetObjectReference(3)).Value; 616var resultDto2 = result.SomeDTORef.Value; 888StringVal = dtoByRef.Value.StringVal.ToUpperInvariant(), 889IntVal = dtoByRef.Value.IntVal + incrementAmounts.Sum() 910var someDTO = someDTORef.Value; 928var dtoByRef = dtoByRefWrapper.Value; 947var dtoByRef = dtoByRefWrapper.Value;
Infrastructure\DotNetObjectReferenceJsonConverterTest.cs (4)
85Assert.Same(input, deserialized.Value); 105Assert.Same(instance1, deserialized[0].Value); 106Assert.Same(instance2, deserialized[1].Value); 126Assert.Same(input, deserialized.Value);
JSInProcessRuntimeTest.cs (1)
83Assert.Equal(new[] { obj2, obj1 }, syncResult.Select(r => r.Value));
JSRuntimeTest.cs (1)
290Assert.Same(obj1, obj1Ref.Value);