3 writes to State
aspire (1)
BackchannelJsonSerializerContext.ResourceSnapshotCommand.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.ResourceSnapshotCommand(){ Name = (string)args[0], DisplayName = (string)args[1], Description = (string)args[2],
State
= (string)args[3] },
Aspire.Cli.Tests (2)
Backchannel\ResourceSnapshotMapperTests.cs (2)
61
new ResourceSnapshotCommand { Name = "resource-stop",
State
= "Enabled", Description = "Stop" },
62
new ResourceSnapshotCommand { Name = "resource-start",
State
= "Disabled", Description = "Start" }
3 references to State
aspire (3)
Backchannel\ResourceSnapshotMapper.cs (1)
103
.Where(c => string.Equals(c.
State
, "Enabled", StringComparison.OrdinalIgnoreCase))
BackchannelJsonSerializerContext.ResourceSnapshotCommand.g.cs (2)
121
Getter = static obj => ((global::Aspire.Cli.Backchannel.ResourceSnapshotCommand)obj).
State
,
155
writer.WriteString(PropName_State, ((global::Aspire.Cli.Backchannel.ResourceSnapshotCommand)value).
State
);