7 references to WithArgument
Aspire.Hosting.Native.Core.Tests (4)
DeclarativeApplicationTests.cs (1)
120
resource.
WithArgument
(value);
NativePublishingTests.cs (3)
28
.
WithArgument
(composition.CreateLiteralValue("-c"))
29
.
WithArgument
(composition.CreateLiteralValue("exec redis-server --requirepass \"$REDIS_PASSWORD\""))
37
web.
WithArgument
(composition.CreateLiteralValue("server.mjs"));
Aspire.Hosting.Native.Server (3)
Api\RpcAuthoringApi.cs (2)
118
Resource.
WithArgument
(Value(argument));
323
Resource.Resource.
WithArgument
(Resource.Value(value));
artifacts\obj\Aspire.Hosting.Native.Server\Debug\native-ats\NativeDispatch.g.cs (1)
645
var result = target.
WithArgument
(handles.Get<DeclaredValue>(arguments["value"], "Aspire.Hosting.Native.Server/Aspire.Hosting.Native.Api.DeclaredValue"));