static IEnumerable <IPreparedFeature> _(AppNodeInfo configuration, IAppManager manager, AppNodeInfo info) { yield return(SubscribeFeature.New()); yield return(Feature.Create( () => new AppRegistryActor(), new RegistryState( ImmutableDictionary <string, string> .Empty, Path.GetFullPath(configuration.AppsLocation), ImmutableDictionary <Guid, IActorRef> .Empty, manager, info))); }
static IEnumerable <IPreparedFeature> _(IAppRegistry appRegistry, IInstaller installer, InstallChecker installChecker, IIpcConnection ipc) { yield return(SubscribeFeature.New()); yield return(Feature.Create(() => new AppManagerActor(), new AppManagerState(appRegistry, installer, installChecker, ipc))); }
static IEnumerable <IPreparedFeature> _(IAppRegistry registry, AppNodeInfo configuration, IAppManager manager, IAutoUpdater updater) { yield return(SubscribeFeature.New()); yield return(Feature.Create(() => new InstallManagerActor(), new InstallManagerState(registry, configuration, manager, updater))); }