Avalonia by Avalonia

<PackageReference Include="Avalonia" Version="0.10.0" />

 IResourceNode

public interface IResourceNode
Represents an object that can be queried for resources.
bool HasResources { get; }

Gets a value indicating whether the object has resources.

bool TryGetResource(object key, out object value)

Tries to find a resource within the object.