10 instantiations of Resource
Aspire.Dashboard (4)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\DashboardService.cs (4)
4279
private static readonly pb::MessageParser<Resource> _parser = new pb::MessageParser<Resource>(() => new
Resource
());
4332
return new
Resource
(this);
5773
Upsert = new global::Aspire.DashboardService.Proto.V1.
Resource
();
5845
global::Aspire.DashboardService.Proto.V1.Resource subBuilder = new global::Aspire.DashboardService.Proto.V1.
Resource
();
Aspire.Dashboard.Tests (6)
Integration\DashboardClientAuthTests.cs (1)
183
Resources = { new
Resource
() { Name = "resource1", ResourceType = "test", Uid = "resource1", CreatedAt = Timestamp.FromDateTime(DateTime.Now) } }
Model\DashboardClientTests.cs (1)
140
instance.SetInitialDataReceived([new
Resource
Model\ResourceViewModelTests.cs (4)
38
var resource = new
Resource
65
var resource = new
Resource
96
var resource = new
Resource
113
var resource = new
Resource
26 references to Resource
Aspire.Dashboard (22)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\DashboardService.cs (19)
181
new 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" }, new[]{ "State", "CreatedAt", "StateStyle", "StartedAt", "StoppedAt" }, null, null, null),
4274
public sealed partial class Resource : pb::IMessage<
Resource
>
4279
private static readonly pb::MessageParser<
Resource
> _parser = new pb::MessageParser<
Resource
>(() => new Resource());
4283
public static pb::MessageParser<
Resource
> Parser { get { return _parser; } }
4307
public Resource(
Resource
other) : this() {
4331
public
Resource
Clone() {
4612
return Equals(other as
Resource
);
4617
public bool Equals(
Resource
other) {
4855
public void MergeFrom(
Resource
other) {
5166
private static readonly pb::FieldCodec<global::Aspire.DashboardService.Proto.V1.
Resource
> _repeated_resources_codec
5167
= pb::FieldCodec.ForMessage(10, global::Aspire.DashboardService.Proto.V1.
Resource
.Parser);
5168
private readonly pbc::RepeatedField<global::Aspire.DashboardService.Proto.V1.
Resource
> resources_ = new pbc::RepeatedField<global::Aspire.DashboardService.Proto.V1.
Resource
>();
5171
public pbc::RepeatedField<global::Aspire.DashboardService.Proto.V1.
Resource
> Resources {
5635
public global::Aspire.DashboardService.Proto.V1.
Resource
Upsert {
5636
get { return kindCase_ == KindOneofCase.Upsert ? (global::Aspire.DashboardService.Proto.V1.
Resource
) kind_ : null; }
5845
global::Aspire.DashboardService.Proto.V1.
Resource
subBuilder = new global::Aspire.DashboardService.Proto.V1.Resource();
ServiceClient\DashboardClient.cs (3)
366
foreach (
var
resource in response.InitialData.Resources)
771
internal void SetInitialDataReceived(IList<
Resource
>? initialData = null)
777
foreach (
var
data in initialData)
Aspire.Dashboard.Tests (4)
Model\ResourceViewModelTests.cs (4)
38
var
resource = new Resource
65
var
resource = new Resource
96
var
resource = new Resource
113
var
resource = new Resource