Skip to content

ICompatibilityDirector Methods

Functionality for grain interface compatibility directors.

IsCompatible(ushort, ushort)

abstract
public abstract bool IsCompatible(ushort requestedVersion, ushort currentVersion)
Returns true if the current version of an interface is compatible with the requested version, false otherwise.

Parameters

requestedVersionushort
The requested interface version.
currentVersionushort
The currently available interface version.

Returns

true if the current version of an interface is compatible with the requested version, false otherwise.