CapabilityExtensions
Namespace: fszmq
Utilities for working with Capabiity from languages other than F#
Static members
Static member | Description |
IfKnown(value, action)
Signature: (value:Capability * action:Action<string,bool>) -> unit
|
Executes the given callback only if capability information is available
|
Match(value, supported, unknown)
Signature: (value:Capability * supported:Action<string,bool> * unknown:Action) -> unit
|
Executes the appropriate callback based on availability of capability info
|
Match(value, supported, unknown)
Signature: (value:Capability * supported:Func<string,bool,'r> * unknown:Func<'r>) -> 'r
Type parameters: 'r
|
Executes the appropriate callback based on availability of capability info
|
TryGetInfo(value, name, yesOrNo)
Signature: (value:Capability * name:byref<string> * yesOrNo:byref<bool>) -> bool
|
Extracts the details of the capability,
returning true on success and false if capability info is unavailable
|