3 writes to Resource
aspire (1)
BackchannelJsonSerializerContext.RpcResourceState.g.cs (1)
30
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.RpcResourceState(){
Resource
= (string)args[0], Type = (string)args[1], State = (string)args[2], Endpoints = (string[])args[3], Health = (string)args[4] },
Aspire.Cli.Tests (2)
TestServices\TestAppHostBackchannel.cs (2)
82
Resource
= "frontend",
90
Resource
= "backend",
7 references to Resource
aspire (7)
BackchannelJsonSerializerContext.RpcResourceState.g.cs (2)
55
Getter = static obj => ((global::Aspire.Cli.Backchannel.RpcResourceState)obj).
Resource
,
162
writer.WriteString(PropName_Resource, ((global::Aspire.Cli.Backchannel.RpcResourceState)value).
Resource
);
Commands\RunCommand.cs (5)
455
if (_resourceStates.TryGetValue(resourceState.
Resource
, out var existingResourceState))
461
endpointWriter(resourceState.
Resource
, endpoint);
465
_resourceStates[resourceState.
Resource
] = resourceState;
473
endpointWriter(resourceState.
Resource
, endpoint);
477
_resourceStates[resourceState.
Resource
] = resourceState;