VZ
Size: a a a
I
I
I
I
VK
I
VK
VK
AH
VS
VS
AH
AK
type AppBuilder internal () =ну и юзедж я выше описал. стейт не стал добавлять ибо это уже вода
[<CustomOperation("service_config")>]
member _.ServiceConfig(state, config) =
{ state with ServicesConfigs = config::state.ServicesConfigs }
[<CustomOperation("hosted_service")>]
member this.HostedService<'service> state =
this.ServiceConfig (state, (fun cfg -> cfg.AddHostedService<'service>()))
let application = AppBuilder()