16 references to CreateProxy
Aspire.Hosting.RemoteHost (1)
Aspire.Hosting.RemoteHost.Tests (15)
CallbackProxyTests.cs (15)
18var result = factory.CreateProxy("callback1", typeof(string));
29var result = factory.CreateProxy("callback1", typeof(Action));
40var result = factory.CreateProxy("callback1", typeof(TestCallbackNoArgs));
51var result1 = factory.CreateProxy("callback1", typeof(TestCallbackNoArgs));
52var result2 = factory.CreateProxy("callback1", typeof(TestCallbackNoArgs));
63var proxy = (TestCallbackNoArgs)factory.CreateProxy("test-callback", typeof(TestCallbackNoArgs))!;
77var proxy = (TestCallbackWithIntResult)factory.CreateProxy("test-callback", typeof(TestCallbackWithIntResult))!;
108var result = factory.CreateProxy("callback1", typeof(TestCallbackWithString));
120var proxy = (TestCallbackWithString)factory.CreateProxy("test-callback", typeof(TestCallbackWithString))!;
137var proxy = (TestCallbackWithMultipleParams)factory.CreateProxy("test-callback", typeof(TestCallbackWithMultipleParams))!;
155var proxy = (TestCallbackWithStringResult)factory.CreateProxy("test-callback", typeof(TestCallbackWithStringResult))!;
169var proxy = (TestCallbackWithCancellation)factory.CreateProxy("test-callback", typeof(TestCallbackWithCancellation))!;
191var proxy = (TestCallbackNoArgs)factory.CreateProxy("test-callback", typeof(TestCallbackNoArgs))!;
206var proxy = (TestCallbackWithIntResult)factory.CreateProxy("test-callback", typeof(TestCallbackWithIntResult))!;
221var proxy = (TestCallbackNoArgs)factory.CreateProxy("test-callback", typeof(TestCallbackNoArgs))!;