4 references to Matches
Aspire.Dashboard (4)
Model\MetricPin.cs (1)
31public bool Matches(OtlpInstrumentSummary instrument) => Matches(instrument.ResourceView.Resource.ResourceName, instrument.GetKey());
Model\MetricPinStore.cs (3)
73_setting.Read(pins => pins.Any(pin => resourceNames.Any(name => pin.Matches(name, key)))); 88: pins.RemoveAll(pin => pin.Matches(name, key)) > 0; 97if (pins.Any(existing => existing.Matches(pin.ResourceName, pin.GetInstrumentKey())))