F# 如何在F中创建ClusterSingleton参与者#

F# 如何在F中创建ClusterSingleton参与者#,f#,akka.net,F#,Akka.net,使用函数模式在F#中创建Akka.NET actors很简单,如actorOf2: let aref = spawn system "my-actor" (actorOf2 myFunction) 但还有其他参与者,如,需要使用OO方法,以便我可以按类型获取参与者: type MySingletonActor() = inherit UntypedActor() // then something like system.ActorOf(ClusterSingletonManager

使用函数模式在F#中创建Akka.NET actors很简单,如
actorOf2

let aref = spawn system "my-actor" (actorOf2 myFunction)
但还有其他参与者,如,需要使用OO方法,以便我可以按类型获取参与者:

type MySingletonActor() =
    inherit UntypedActor()

// then something like
system.ActorOf(ClusterSingletonManager.Props(Props.Create<MySingletonActor>() ... )
type mysingletonator()=
继承非类型转换器()
//然后像
system.ActorOf(ClusterSingletonManager.Props(Props.Create()…)
有没有办法使用F#中的函数模式来创建一个作为ClusterSingleton使用的参与者