Table of Contents

Class CatalogEntryExtensions

Namespace
SpecWorks.AiCatalog
Assembly
SpecWorks.AiCatalog.dll

Extension methods for CatalogEntry.

public static class CatalogEntryExtensions
Inheritance
object
CatalogEntryExtensions

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

entry CatalogEntry

The catalog entry to check.

Returns

bool

true if the entry's MediaType matches either A2AAgentCard or A2AAgentCardVendor (case-insensitive); otherwise false.