8 instantiations of WorkloadEndpointDeclaration
Aspire.Hosting.Native.Core.Tests (7)
DeclarativeApplicationTests.cs (3)
122
resource.WithEndpoint(
new
()
270
producer.WithEndpoint(
new
() { Name = "tcp", Protocol = "TCP", UriScheme = "tcp", TargetPort = 6379, HostPort = 0, EnvironmentVariable = "" });
373
service.WithEndpoint(
new
() { Name = "tcp", Protocol = "TCP", UriScheme = "tcp", TargetPort = 6379, HostPort = 0, EnvironmentVariable = "" });
MilestoneDependencyTests.cs (1)
367
resource.WithEndpoint(
new
()
NativeModelAlignmentTests.cs (2)
21
.WithEndpoint(
new
() { Name = "http", Protocol = "TCP", UriScheme = "http", TargetPort = 80, HostPort = 0, EnvironmentVariable = "" })
22
.WithEndpoint(
new
() { Name = "tcp", Protocol = "TCP", UriScheme = "tcp", TargetPort = 90, HostPort = 0, EnvironmentVariable = "" })
NativePublishingTests.cs (1)
25
.WithEndpoint(
new
() { Name = "tcp", TargetPort = 6379, Protocol = "TCP", UriScheme = "redis", HostPort = 0, EnvironmentVariable = "" })
Aspire.Hosting.Native.Server (1)
Api\RpcAuthoringApi.cs (1)
128
Resource.WithEndpoint(new
WorkloadEndpointDeclaration
5 references to WorkloadEndpointDeclaration
Aspire.Hosting.Native.Server (5)
Api\DeclarativeWorkloadApi.cs (1)
107
public DeclaredResource WithEndpoint(
WorkloadEndpointDeclaration
endpoint)
Api\WorkloadApi.cs (3)
141
private static ImmutableArray<WorkloadPort> CopyEndpoints(
WorkloadEndpointDeclaration
[] endpoints)
200
public required
WorkloadEndpointDeclaration
[] Endpoints { get; init; }
211
public required
WorkloadEndpointDeclaration
[] Endpoints { get; init; }
artifacts\obj\Aspire.Hosting.Native.Server\Debug\native-ats\NativeDispatch.g.cs (1)
927
[JsonSerializable(typeof(
WorkloadEndpointDeclaration
))]