VersionInfo

Description

struct Tinman.Core.Util.VersionInfo

Helper for detecting version changes of a IVersioned object.

Public / Constants

None


public static readonly attribute None → (VersionInfo)

No version info.

Public / Constructors

For


public static method For → (1)

versioned in : IVersioned

The versioned object or null.

returns → VersionInfo

The version info.

Creates a new instance of VersionInfo.

Public / Methods

Check


public static method Check → (2)

versioned in : IVersioned

The versioned object or null.

info ref : VersionInfo

The version info to check and update, if necessary.

returns → bool

true if info ref is up-to-date,
false if info ref was outdated and has been updated.

Checks if the given version info is up-to-date.