ServiceLocator Module

Types

Type Description

Architecture

OS

Provider<'a>

Generic provider with unmanaged DLL dependencies.

ServiceProvider<'a>

'a ServiceState

Functions and values

Function or value Description

createProviderX64 name requiredDLLs os initService

Full Usage: createProviderX64 name requiredDLLs os initService

Parameters:
    name : string
    requiredDLLs : seq<string>
    os : OS
    initService : unit -> 'a

Returns: Provider<'a>
name : string
requiredDLLs : seq<string>
os : OS
initService : unit -> 'a
Returns: Provider<'a>

createProviderX86 name requiredDLLs os initService

Full Usage: createProviderX86 name requiredDLLs os initService

Parameters:
    name : string
    requiredDLLs : seq<string>
    os : OS
    initService : unit -> 'a

Returns: Provider<'a>
name : string
requiredDLLs : seq<string>
os : OS
initService : unit -> 'a
Returns: Provider<'a>

initDllPathTable ()

Full Usage: initDllPathTable ()

Parameters:
    () : unit

Returns: Map<string, string list>
() : unit
Returns: Map<string, string list>

initSearchPaths ()

Full Usage: initSearchPaths ()

Parameters:
    () : unit

Returns: string list

The DLLs search procedure for those DLLs

() : unit
Returns: string list

isLoadableProvider dllPaths provider

Full Usage: isLoadableProvider dllPaths provider

Parameters:
    dllPaths : Map<string, string list>
    provider : Provider<'a>

Returns: bool
dllPaths : Map<string, string list>
provider : Provider<'a>
Returns: bool

normDllFilename dll

Full Usage: normDllFilename dll

Parameters:
    dll : string

Returns: string
dll : string
Returns: string

setEnvironmentPathVariable dllDirectory

Full Usage: setEnvironmentPathVariable dllDirectory

Parameters:
    dllDirectory : string

dllDirectory : string

tryCheckProvider dllPaths provider

Full Usage: tryCheckProvider dllPaths provider

Parameters:
    dllPaths : Map<string, string list>
    provider : Provider<'a>

Returns: (Provider<'a> * string) option
dllPaths : Map<string, string list>
provider : Provider<'a>
Returns: (Provider<'a> * string) option