GenRunnerAttribute Type
Generates a runner for an interface that inherits IProvide for each effect it provides: a
record type implementing the provider interfaces of those effects, and a runner computation expression that
assembles an environment from them.
Example
[<GenRunner(Name = "AppRunner")>]
type IAppRunner =
inherit IProvide<IGuidGenerator>
inherit IProvide<TimeProvider>
type IAppRunner =
inherit obj
inherit obj
Constructors
| Constructor |
Description
|
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.Name
Returns: string
|
The name of the generated runner type.
|
Full Usage:
this.UserInterfaceName
Returns: bool
|
Names the generated runner type after the interface, without its leading
|
Orsak