Definition
Assembly: Microsoft.OData.Mcp.AspNetCore.dll Namespace: Microsoft.OData.Mcp.AspNetCore.Hosting Inheritance: System.ObjectSyntax
Summary
Discovers(prefix, IEdmModel) pairs from ASP.NET Core endpoint routing without compiling against
Microsoft.AspNetCore.OData 7 or 8.
Methods
Discover
Discovers OData prefixes and models from explicit registration, endpoint metadata, OData 7/Restier catch-all routes, and (when present) an already-loaded OData options dictionary.Syntax
Parameters
Returns
Type:System.Collections.Generic.IReadOnlyList<Microsoft.OData.Mcp.AspNetCore.Hosting.ODataMcpRouteBinding>
Bindings after include/exclude filters. Duplicate prefixes keep the last discovered model.