F# Shortcut Syntax for Properties?

前端 未结 0 1624
清歌不尽
清歌不尽 2021-02-11 19:14

For the normal property getter/setter syntax

let mutable myInternalValue

member this.MyProperty 
    with get() = myInternalValue
    and set(value) = myInterna         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题