Table of Contents

Method IsUsableAdditionalPropertyName

Namespace
MailFathom.AI.Chat
Assembly
MailFathom.AI.dll

IsUsableAdditionalPropertyName(string)

Reports whether a name is shaped like a top-level request member an additional property could write.

public static bool IsUsableAdditionalPropertyName(string name)

Parameters

name string

The declared member name.

Returns

bool

true when the name is an identifier of the shape every provider's members take.

Remarks

Published so the configuration layer refuses the same names this does. The shape is narrower than JSON allows, because the name becomes a path into the request body, and a dot or a bracket in it would address a member somewhere else than the top level it was declared at.