Table of Contents

Method RequireSchemaVersion

Namespace
Oscova.Agents.Persistence
Assembly
Oscova.Agents.dll

RequireSchemaVersion(string, int)

Rejects unsupported document schemas before binding their fields to the current model.

public void RequireSchemaVersion(string yaml, int expectedVersion)

Parameters

yaml string
expectedVersion int