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))); }
public sealed record RegistryState(ImmutableDictionary <string, string> Apps, string AppsDirectory, ImmutableDictionary <Guid, IActorRef> OnGoingQuerys, IAppManager Manager, AppNodeInfo Info);