8 instantiations of SomePublicType
Microsoft.JSInterop.Tests (8)
15 references to SomePublicType
Microsoft.JSInterop.Tests (15)
Infrastructure\DotNetDispatcherTest.cs (15)
78SomePublicType.DidInvokeMyInvocableStaticVoid = false;
83Assert.True(SomePublicType.DidInvokeMyInvocableStaticVoid);
104var resultJson = DotNetDispatcher.Invoke(jsRuntime, new DotNetInvocationInfo(thisAssemblyName, nameof(SomePublicType.InvokableMethodWithoutCustomIdentifier), default, default), null);
156var method = nameof(SomePublicType.IncorrectDotNetObjectRefUsage);
180var targetInstance = new SomePublicType();
214var targetInstance = new SomePublicType();
233var targetInstance = new SomePublicType();
252var targetInstance = new SomePublicType();
451var targetInstance = new SomePublicType();
624var targetInstance = new SomePublicType();
647var result = JsonSerializer.Deserialize<SomePublicType.InvokableAsyncMethodResult>(resultJson, jsRuntime.JsonSerializerOptions);
663var targetInstance = new SomePublicType();
680nameof(SomePublicType.InvokableAsyncMethodReturningValueTask), 1, callId), argsJson);
693var targetInstance = new SomePublicType();
704nameof(SomePublicType.InvokableAsyncMethodReturningValueTaskNonGeneric), 1, callId), argsJson);