Skip to content

WebcilPayloadBuilder

Namespace: Dotsider.Core.Protocol

Assembly: Dotsider.Core.dll

Builds JSON-ready Webcil payloads shared by CLI, MCP, and diagnostics session output. Webcil is a managed assembly container used in browser-wasm publishes, so the payload is provenance beside the normal metadata/IL facts rather than a separate native module view.

public static class WebcilPayloadBuilder

ObjectWebcilPayloadBuilder

Builds a compact Webcil summary for protocol surfaces. Returns null when the analyzer did not open a Webcil assembly, allowing callers to include the property unconditionally.

Parameters:

  • analyzer (AssemblyAnalyzer): The analyzer whose Webcil provenance should be serialized.

Returns: Object

A JSON-ready Webcil summary object, or null when the analyzer is not Webcil.

public static object? BuildSummary(AssemblyAnalyzer analyzer)