Skip to content

MockMethodOptions

[<Interface>]
type MockMethodOptions =
    abstract member getter: bool option with get, set
    abstract member setter: bool option with get, set
    static member Create (?getter: bool, ?setter: bool, ?times: float) : MockMethodOptions
AssemblyXantham.Fable.Node
ImplementsMockFunctionOptions
Attributes[<Interface>]

Properties

abstract member getter: bool option with get, set

If true, object[methodName] is treated as a getter. This option cannot be used with the setter option.

abstract member setter: bool option with get, set

If true, object[methodName] is treated as a setter. This option cannot be used with the getter option.

Methods

static member Create (?getter: bool, ?setter: bool, ?times: float) : MockMethodOptions