Table of Contents

Property Version

Namespace
MailFathom.Application.Discovery.Presentation
Assembly
MailFathom.Application.dll

Version

Gets the revision of this block type's contract, which is the catalogue's rather than the producer's.

public int Version { get; init; }

Property Value

int

Remarks

Written from the catalogue, so nothing can stamp a revision it did not write, and checked on the way back in: a plan whose block claims a revision this build does not implement is refused rather than read as though it were this one. Silently normalizing it would be the worst of the three answers — the members that revision added would be dropped, and the block would present as though nothing were missing. Degrading such a block instead of refusing the plan is a reader's decision, and a reader that has to make it reads the number out of the JSON rather than binding to this build's catalogue.