Class CatalogEntryExtensions
Extension methods for CatalogEntry.
public static class CatalogEntryExtensions
- Inheritance
-
objectCatalogEntryExtensions
Methods
IsA2AAgentCard(CatalogEntry)
Determines whether this catalog entry represents an A2A Agent Card. Checks against both standard and vendor-prefixed A2A agent card media types. Media type comparison is case-insensitive per RFC 2045.
public static bool IsA2AAgentCard(this CatalogEntry entry)
Parameters
entryCatalogEntryThe catalog entry to check.
Returns
- bool
trueif the entry's MediaType matches either A2AAgentCard or A2AAgentCardVendor (case-insensitive); otherwisefalse.