Path: redb-route/redb.Route.Xml/Packaging/RouteProjectResourceResolver.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.Xml/Packaging/RouteProjectResourceResolver.cs ---- using redb.Route.Abstractions; namespace redb.Route.Xml.Packaging; /// /// Reads a route's file= references from the project on disk by /// , the rule the packaging checks and the Tsak loader /// share: the tool's csharp and mermaid find exactly the files check accepts. /// /// The route file whose references are resolved. public sealed class RouteProjectResourceResolver(string routeFile) : IRouteResourceResolver { /// public string? Resolve(string reference) { ArgumentException.ThrowIfNullOrWhiteSpace(reference); return RoutePackage.ResourceCandidatesFor(routeFile, reference).FirstOrDefault(File.Exists); } /// public string DescribeSearch(string reference) => string.Join(", ", RoutePackage.ResourceCandidatesFor(routeFile, reference)); }