5 instantiations of Resource
Aspire.Hosting (5)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\ResourceService.cs (4)
3856
private static readonly pb::MessageParser<Resource> _parser = new pb::MessageParser<Resource>(() => new
Resource
());
3907
return new
Resource
(this);
5270
Upsert = new global::Aspire.ResourceService.Proto.V1.
Resource
();
5342
global::Aspire.ResourceService.Proto.V1.Resource subBuilder = new global::Aspire.ResourceService.Proto.V1.
Resource
();
Dashboard\proto\Partials.cs (1)
13
var resource = new
Resource
23 references to Resource
Aspire.Hosting (23)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\ResourceService.cs (19)
128
new 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),
3851
internal sealed partial class Resource : pb::IMessage<
Resource
>
3856
private static readonly pb::MessageParser<
Resource
> _parser = new pb::MessageParser<
Resource
>(() => new Resource());
3860
public static pb::MessageParser<
Resource
> Parser { get { return _parser; } }
3884
public Resource(
Resource
other) : this() {
3906
public
Resource
Clone() {
4157
return Equals(other as
Resource
);
4162
public bool Equals(
Resource
other) {
4374
public void MergeFrom(
Resource
other) {
4663
private 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);
4665
private readonly pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.
Resource
> resources_ = new pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.
Resource
>();
4668
public pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.
Resource
> Resources {
5132
public global::Aspire.ResourceService.Proto.V1.
Resource
Upsert {
5133
get { return kindCase_ == KindOneofCase.Upsert ? (global::Aspire.ResourceService.Proto.V1.
Resource
) kind_ : null; }
5342
global::Aspire.ResourceService.Proto.V1.
Resource
subBuilder = new global::Aspire.ResourceService.Proto.V1.Resource();
Dashboard\DashboardService.cs (2)
71
data.Resources.Add(
Resource
.FromSnapshot(resource));
86
change.Upsert =
Resource
.FromSnapshot(update.Resource);
Dashboard\proto\Partials.cs (2)
11
public static
Resource
FromSnapshot(ResourceSnapshot snapshot)
13
var
resource = new Resource