コード例 #1
0
            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)));
            }
コード例 #2
0
 public sealed record RegistryState(ImmutableDictionary <string, string> Apps, string AppsDirectory, ImmutableDictionary <Guid, IActorRef> OnGoingQuerys, IAppManager Manager, AppNodeInfo Info);