Definition
Assembly: CloudNimble.McpEssentials.Core.dll Namespace: CloudNimble.McpEssentials.Core.Tasks.Elicitations Inheritance: System.ObjectSyntax
Summary
Closed AOT codec for the compactForm / Field / Option island.
Uses XmlWriter / XmlReader. Does not use
XmlSerializer, sgen, or reflection over the form type.
Remarks
Readers match LocalName only. Writers emitxmlns
when xmlNamespace is supplied. DTD processing is prohibited. Comments are
ignored. Processing instructions inside Form, Field, or Option
are unexpected nodes.
Examples
Methods
Parse
Reads a compact form island. Namespace prefixes are ignored.Syntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormDefinition
The snapshot.
Exceptions
Serialize
Writes a compact form island. Omits the XML declaration.Syntax
Parameters
Returns
Type:string
The island text.