3 writes to Resource
aspire (1)
BackchannelJsonSerializerContext.RpcResourceState.g.cs (1)
32ObjectWithParameterizedConstructorCreator = 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)
82Resource = "frontend", 90Resource = "backend",
7 references to Resource
aspire (7)
BackchannelJsonSerializerContext.RpcResourceState.g.cs (2)
58Getter = static obj => ((global::Aspire.Cli.Backchannel.RpcResourceState)obj).Resource, 178writer.WriteString(PropName_Resource, ((global::Aspire.Cli.Backchannel.RpcResourceState)value).Resource);
Commands\RunCommand.cs (5)
463if (_resourceStates.TryGetValue(resourceState.Resource, out var existingResourceState)) 469endpointWriter(resourceState.Resource, endpoint); 473_resourceStates[resourceState.Resource] = resourceState; 481endpointWriter(resourceState.Resource, endpoint); 485_resourceStates[resourceState.Resource] = resourceState;