5 instantiations of Resource
Aspire.Hosting (5)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\ResourceService.cs (4)
3856private static readonly pb::MessageParser<Resource> _parser = new pb::MessageParser<Resource>(() => new Resource()); 3907return new Resource(this); 5270Upsert = new global::Aspire.ResourceService.Proto.V1.Resource(); 5342global::Aspire.ResourceService.Proto.V1.Resource subBuilder = new global::Aspire.ResourceService.Proto.V1.Resource();
Dashboard\proto\Partials.cs (1)
13var resource = new Resource
23 references to Resource
Aspire.Hosting (23)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\ResourceService.cs (19)
128new pbr::GeneratedClrTypeInfo(typeof(global::Aspire.ResourceService.Proto.V1.Resource), global::Aspire.ResourceService.Proto.V1.Resource.Parser, new[]{ "Name", "ResourceType", "DisplayName", "Uid", "State", "CreatedAt", "Environment", "Commands", "Properties", "Urls", "StateStyle", "Volumes", "HealthReports", "StartedAt", "StoppedAt", "Relationships" }, new[]{ "State", "CreatedAt", "StateStyle", "StartedAt", "StoppedAt" }, null, null, null), 3851internal sealed partial class Resource : pb::IMessage<Resource> 3856private static readonly pb::MessageParser<Resource> _parser = new pb::MessageParser<Resource>(() => new Resource()); 3860public static pb::MessageParser<Resource> Parser { get { return _parser; } } 3884public Resource(Resource other) : this() { 3906public Resource Clone() { 4157return Equals(other as Resource); 4162public bool Equals(Resource other) { 4374public void MergeFrom(Resource other) { 4663private static readonly pb::FieldCodec<global::Aspire.ResourceService.Proto.V1.Resource> _repeated_resources_codec 4664= pb::FieldCodec.ForMessage(10, global::Aspire.ResourceService.Proto.V1.Resource.Parser); 4665private readonly pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.Resource> resources_ = new pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.Resource>(); 4668public pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.Resource> Resources { 5132public global::Aspire.ResourceService.Proto.V1.Resource Upsert { 5133get { return kindCase_ == KindOneofCase.Upsert ? (global::Aspire.ResourceService.Proto.V1.Resource) kind_ : null; } 5342global::Aspire.ResourceService.Proto.V1.Resource subBuilder = new global::Aspire.ResourceService.Proto.V1.Resource();
Dashboard\DashboardService.cs (2)
71data.Resources.Add(Resource.FromSnapshot(resource)); 86change.Upsert = Resource.FromSnapshot(update.Resource);
Dashboard\proto\Partials.cs (2)
11public static Resource FromSnapshot(ResourceSnapshot snapshot) 13var resource = new Resource