5 instantiations of Resource
Aspire.Hosting (5)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\DashboardService.cs (4)
4992private static readonly pb::MessageParser<Resource> _parser = new pb::MessageParser<Resource>(() => new Resource()); 5049return new Resource(this); 6598Upsert = new global::Aspire.DashboardService.Proto.V1.Resource(); 6670global::Aspire.DashboardService.Proto.V1.Resource subBuilder = new global::Aspire.DashboardService.Proto.V1.Resource();
Dashboard\proto\Partials.cs (1)
13var resource = new Resource
24 references to Resource
Aspire.Hosting (23)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\DashboardService.cs (19)
220new pbr::GeneratedClrTypeInfo(typeof(global::Aspire.DashboardService.Proto.V1.Resource), global::Aspire.DashboardService.Proto.V1.Resource.Parser, new[]{ "Name", "ResourceType", "DisplayName", "Uid", "State", "CreatedAt", "Environment", "Commands", "Properties", "Urls", "StateStyle", "Volumes", "HealthReports", "StartedAt", "StoppedAt", "Relationships", "IsHidden", "SupportsDetailedTelemetry", "IconName", "IconVariant" }, new[]{ "State", "CreatedAt", "StateStyle", "StartedAt", "StoppedAt", "IconName", "IconVariant" }, null, null, null), 4987internal sealed partial class Resource : pb::IMessage<Resource> 4992private static readonly pb::MessageParser<Resource> _parser = new pb::MessageParser<Resource>(() => new Resource()); 4997public static pb::MessageParser<Resource> Parser { get { return _parser; } } 5021public Resource(Resource other) : this() { 5048public Resource Clone() { 5389return Equals(other as Resource); 5394public bool Equals(Resource other) { 5658public void MergeFrom(Resource other) { 5991private static readonly pb::FieldCodec<global::Aspire.DashboardService.Proto.V1.Resource> _repeated_resources_codec 5992= pb::FieldCodec.ForMessage(10, global::Aspire.DashboardService.Proto.V1.Resource.Parser); 5993private readonly pbc::RepeatedField<global::Aspire.DashboardService.Proto.V1.Resource> resources_ = new pbc::RepeatedField<global::Aspire.DashboardService.Proto.V1.Resource>(); 5996public pbc::RepeatedField<global::Aspire.DashboardService.Proto.V1.Resource> Resources { 6460public global::Aspire.DashboardService.Proto.V1.Resource Upsert { 6461get { return kindCase_ == KindOneofCase.Upsert ? (global::Aspire.DashboardService.Proto.V1.Resource) kind_ : null; } 6670global::Aspire.DashboardService.Proto.V1.Resource subBuilder = new global::Aspire.DashboardService.Proto.V1.Resource();
Dashboard\DashboardService.cs (2)
306data.Resources.Add(Resource.FromSnapshot(resource)); 321change.Upsert = Resource.FromSnapshot(update.Resource);
Dashboard\proto\Partials.cs (2)
11public static Resource FromSnapshot(ResourceSnapshot snapshot) 13var resource = new Resource
Aspire.Hosting.Tests (1)
Dashboard\DashboardServiceTests.cs (1)
237var resourceData = Assert.Single(update.InitialData.Resources);