13 instantiations of Resource
Aspire.Dashboard (4)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\DashboardService.cs (4)
4335private static readonly pb::MessageParser<Resource> _parser = new pb::MessageParser<Resource>(() => new Resource()); 4392return new Resource(this); 5941Upsert = new global::Aspire.DashboardService.Proto.V1.Resource(); 6013global::Aspire.DashboardService.Proto.V1.Resource subBuilder = new global::Aspire.DashboardService.Proto.V1.Resource();
Aspire.Dashboard.Tests (9)
Integration\DashboardClientAuthTests.cs (1)
183Resources = { new Resource() { Name = "resource1", ResourceType = "test", Uid = "resource1", CreatedAt = Timestamp.FromDateTime(DateTime.Now) } }
Model\DashboardClientTests.cs (1)
140instance.SetInitialDataReceived([new Resource
Model\ResourceViewModelTests.cs (7)
38var resource = new Resource 65var resource = new Resource 96var resource = new Resource 113var resource = new Resource 159var resource = new Resource 181var resource = new Resource 203var resource = new Resource
29 references to Resource
Aspire.Dashboard (22)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\DashboardService.cs (19)
188new 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), 4330public sealed partial class Resource : pb::IMessage<Resource> 4335private static readonly pb::MessageParser<Resource> _parser = new pb::MessageParser<Resource>(() => new Resource()); 4340public static pb::MessageParser<Resource> Parser { get { return _parser; } } 4364public Resource(Resource other) : this() { 4391public Resource Clone() { 4732return Equals(other as Resource); 4737public bool Equals(Resource other) { 5001public void MergeFrom(Resource other) { 5334private static readonly pb::FieldCodec<global::Aspire.DashboardService.Proto.V1.Resource> _repeated_resources_codec 5335= pb::FieldCodec.ForMessage(10, global::Aspire.DashboardService.Proto.V1.Resource.Parser); 5336private readonly pbc::RepeatedField<global::Aspire.DashboardService.Proto.V1.Resource> resources_ = new pbc::RepeatedField<global::Aspire.DashboardService.Proto.V1.Resource>(); 5339public pbc::RepeatedField<global::Aspire.DashboardService.Proto.V1.Resource> Resources { 5803public global::Aspire.DashboardService.Proto.V1.Resource Upsert { 5804get { return kindCase_ == KindOneofCase.Upsert ? (global::Aspire.DashboardService.Proto.V1.Resource) kind_ : null; } 6013global::Aspire.DashboardService.Proto.V1.Resource subBuilder = new global::Aspire.DashboardService.Proto.V1.Resource();
ServiceClient\DashboardClient.cs (3)
366foreach (var resource in response.InitialData.Resources) 774internal void SetInitialDataReceived(IList<Resource>? initialData = null) 780foreach (var data in initialData)
Aspire.Dashboard.Tests (7)
Model\ResourceViewModelTests.cs (7)
38var resource = new Resource 65var resource = new Resource 96var resource = new Resource 113var resource = new Resource 159var resource = new Resource 181var resource = new Resource 203var resource = new Resource