fszmq


VersionExtensions

Namespace: fszmq

Utilities for working with Version from languages other than F#

Static members

Static memberDescription
IfKnown(value, action)
Signature: (value:Version * action:Action<int,int,int>) -> unit

Executes the given callback only if version information is available

Match(value, version, unknown)
Signature: (value:Version * version:Action<int,int,int> * unknown:Action) -> unit

Executes the appropriate callback based on availability of version info

Match(value, version, unknown)
Signature: (value:Version * version:Func<int,int,int,'r> * unknown:Func<'r>) -> 'r
Type parameters: 'r

Executes the appropriate callback based on availability of version info

TryGetInfo(value, major, minor, build)
Signature: (value:Version * major:byref<int> * minor:byref<int> * build:byref<int>) -> bool

Extracts the details of the version, returning true on success and false if version info is unavailable

Fork me on GitHub